Hi Everybody,
I'm trying to fix the incrementation value of the range axis of my charts.
For example: I have a chart with the minimum range value as 15 and the maximum value as 35. Then my generated chart haves the range values starting with 15 and increasing ramdomly, sometimes adds 2, sometimes adds 3, as: 15,18, 20, 22, 25, 28, 30, 32 and finally 35.
Do I have to override the configure method?
Any idea?
How to fix the increment value of the range axis?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: How to fix the increment value of the range axis?
You can subclass the axis and override the refreshTicks() method.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Re: How to fix the increment value of the range axis?
It worked.
Thanks David!
Thanks David!