Hi,
Does anybody know how to add a label before or after a value on a number axis. Further, is it possible to have the background divided into regions of different color?
Something like:
^
|
+-100---------------------------+ Excellent
|
+--50---------------------------+ Good
|
+---0---------------------------+ Really lousy
In real life the tick values are to the left of the axis.
Hope you get the idea!
Regards
/Fredrik Herbertsson
Possible to label vertical number axis 'value ticks'?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
If you look at HorizontalBarChartDemo2 you will see that it adds a band to the range axis that you can add labelled ranges to. It only works for the HorizontalNumberAxis, and there are one or two things that need smoothing out, but you could implement something similar for the VerticalNumberAxis.
Regards,
Dave Gilbert
Regards,
Dave Gilbert