I would like to be able to annotate (or maybe label) the individual bars of a stacked bar chart. Is this possible?
Thanks
HowTo Annotate Stacked Bars?
HowTo Annotate Stacked Bars?
Thanks, Jabe
rcdjbp@yahoo.com
rcdjbp@yahoo.com
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You can assign an item label generator to the renderer. Annotations are possible too, but since they are usually positioned using absolute data coordinates, your code would need to take into account the fact that the renderer stacks the bars, to calculate where to place the annotation.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

