Hi,
in my XY-Diagramm I have, depending on the data, sometimes .5 values at the x-axis.
Is there an easy way to avoid this?
thanks
Heinrich
avoiding .5 vlaues at x-axis
Re: avoiding .5 vlaues at x-axis
Yes, you can use the setStandardTickUnits(...) method in the axis to define the 'standard' tick units.
There is a TickUnits collection that uses integers only, already defined for you - use NumberAxis.createIntegerTickUnits().
Regards,
Dave Gilbert
There is a TickUnits collection that uses integers only, already defined for you - use NumberAxis.createIntegerTickUnits().
Regards,
Dave Gilbert