Hi,
I have a series that shows label on each data item.
Is there any way to have a different color label for the series such that item with values less that XX is white and more than XX is red.
Thank you very much.
Different color for item label of a series
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You could do this by subclassing the renderer and overriding the getItemLabelPaint(int, int) method.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

