hi..~
I am right now displaying the tick label of range axis.. ;;
rangeaxis.setRange( 0, 1000000000 );
DecimalFormat formatter = new DecimalFormat("0,000");
rangeaxis.setTickUnit(new NumberTickUnit( "10000000", formatter));
but.. ticksize is too big. ;;
so I would like to display.. like this. 10000000 => 10M .
( 10M, 20M, 30M, .. )
can I do that? ;;
Thanks.
Tick Label of BarChart..
Re: Tick Label of BarChart..
I can't think of a way to do that. Ideally, there would be a subclass of NumberFormat that could do it. Anyone know of one, or care to develop one? The less elegant approach would be to modify the JFreeChart source code and have it divide the values by 1000000 before displaying them on the axis.
Regards,
DG
Regards,
DG