Skip to content

Commit

Permalink
enables to define the maximal y value for radar chart (chart.... y_ra…
Browse files Browse the repository at this point in the history
…nge: 100) - related to: #3408
  • Loading branch information
ptaillandier committed May 8, 2022
1 parent 927cacd commit 8b0489e
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -253,7 +253,7 @@ public void initChart_post_data_init(final IScope scope) {
// TODO Auto-generated method stub
super.initChart_post_data_init(scope);
final SpiderWebPlot pp = (SpiderWebPlot) chart.getPlot();

// final String sty = getStyle();
// this.useSubAxis=false;
// switch (sty) {
Expand Down Expand Up @@ -295,7 +295,10 @@ public void initChart_post_data_init(final IScope scope) {
if (this.series_label_position.equals("none")) {
pp.setLabelPaint(this.backgroundColor);
}

if (this.useyrangeinterval)
((SpiderWebPlot) chart.getPlot()).setMaxValue(this.yrangeinterval);
else if (this.useyrangeminmax)
((SpiderWebPlot) chart.getPlot()).setMaxValue(this.yrangemax);
}

@Override
Expand Down

0 comments on commit 8b0489e

Please sign in to comment.