Page 1 of 1

Range Axis Number Format from 100000 to 100k?

Posted: Thu Oct 26, 2006 11:19 am
by johnnyhall81
How do I override the numberFormat so that large numbers such as 100,000 are displayed as 100k etc?

Posted: Thu Oct 26, 2006 8:57 pm
by develop
you can use following,

rangeAxis.setNumberFormatOverride(new DecimalFormat("### K"));

where rangeAxis is your numberAxis (range or domain)

hope this helps