Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapting some contributions by Axel Richter on StackOverflow #124

Closed
wants to merge 2 commits into from

Conversation

Alain-Bearez
Copy link
Contributor

While searching for more improvement inspiration based on link from https://bz.apache.org/bugzilla/show_bug.cgi?id=62746, I found some great contributions by Axel Richter using low-level CT* classes that can be adapted to newer API.

@asfgit
Copy link

asfgit commented Sep 25, 2018

Can one of the admins verify this patch?

@@ -34,12 +35,27 @@ Licensed to the Apache Software Foundation (ASF) under one or more
public XDDFBarChartData(CTBarChart chart, Map<Long, XDDFChartAxis> categories,
Map<Long, XDDFValueAxis> values) {
this.chart = chart;
if (chart.getBarDir() == null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you remove the tabs from your code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for notifying about my IDE running misconfigured!

@@ -214,6 +214,28 @@ public void setAutoTitleDeleted(boolean deleted) {
chart.getAutoTitleDeleted().setVal(deleted);
}

public Boolean getTitleOverlay() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it make sense to add @since 4.0.1 to these new methods?

@@ -99,6 +111,22 @@ protected CTSerTx getSeriesText() {
return series.getTx();
}

public Boolean getSmooth() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar question about annotating public methods with the since version

@Alain-Bearez
Copy link
Contributor Author

closed by r1841988

@Alain-Bearez Alain-Bearez deleted the bug-62746 branch September 26, 2018 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants