Hi
I want y axis to be formatted.
I try this:
NumberTickUnit unit = new NumberTickUnit(0, new DecimalFormat("0.0"));
yAxis.setTickUnit(unit);
But I want size of the tick unit not to be formatted.
I find not like this:
NumberTickUnit unit = new NumberTickUnit(new DecimalFormat("0.0"));
yAxis.setTickUnit(unit);
How I can do?
BTW: please, pardon my poor english ^o^
VerticalNumberAxis, Only formatter for the tick unit£¿
Re: VerticalNumberAxis, Only formatter for the tick unit£¿
To do that you need to create a collection of tick units (look in the TickUnits class to see how the standard collections are created) and then use:
yAxis.setStandardTickUnits(myTickUnitCollection);
Regards,
DG.
yAxis.setStandardTickUnits(myTickUnitCollection);
Regards,
DG.
Re: VerticalNumberAxis, Only formatter for the tick unit£¿
Thank u !
Your help is always quick
Your help is always quick