Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Set decimal tick label for number axis

924537Sep 17 2012 — edited Sep 18 2012
Hi everyone,

In my chart, the number axis tick label is always like float number. I need an decimal number tick label. Because I use auto-range on this axis, i think this
 NumberAxis(double lowerBound, double upperBound, double tickUnit) 
is not good for me.

Also, I have try
 setTickLabelFormatter 
on FX example, but for me, it seems like useful for set prefix and suffix. Can someone give me solution for this problem

Edited by: pirent420 on 19:08 17-09-2012: add tag
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2012
Added on Sep 17 2012
4 comments
841 views