Search found 2 matches
- Fri Feb 05, 2016 1:55 am
- Forum: JFreeChart
- Topic: Setting the y-axis tick interval
- Replies: 2
- Views: 16444
Re: Setting the y-axis tick interval
Fantastic - that's done it, thank you so much! To close the loop, here is my entire code snippet: import org.jfree.chart.plot.CategoryPlot; import org.jfree.chart.axis.*; // only use whole numbers on the Y Axis CategoryPlot chartPlot = chart.getCategoryPlot(); ValueAxis yAxis = chartPlot.getRangeAxi...
- Thu Feb 04, 2016 7:50 am
- Forum: JFreeChart
- Topic: Setting the y-axis tick interval
- Replies: 2
- Views: 16444
Setting the y-axis tick interval
Hi all, My issue: I am building a bar chart in Pentaho report designer, where depending on the parameters, the max value in the chart can be huge (say 1,000) or very small (say 3). Currently when the max range is huge, the auto-tick interval works nicely. However, when the max value is very small, I...