I want to set the tick unit to a fixed value, if the tick Unit is less than some arbitrary value.
Say if the tick Unit is less than 10, I need to set the value as 10 or else I need to use the tick Unit set by jFree.
Could some body let me know as to how to do this?
200 -
150 -
100 -
50 -
0
above needs to be left as it is.
20 -
15 -
10 -
05 -
00 -
above needs to be modified as
20 -
10 -
00 -
How to change tick unit?
How to change tick unit?
--
RCDran
RCDran
This is how I set the the tickunit:
Code: Select all
rangeAxis.setTickUnit(new NumberTickUnit(50000));