How would I place an annotation on subcategories? Say I have 2 categories, and each of those has 3 subcategories. I can only see how to annotate a category, not a subcategory.
Also, is there any way to have a label that displays text instead of the actual value?
I have subcategories which have stacked values. I'd like each division in each stack to have text inside that says what the stack is, i.e say the stack divisions were days of the week, each stack division would say the day inside, i.e. mon, tues, wed. etc.
Thanks!
Mike
Annotation on subcategories in stackedbarchart
Annotate Stacked BarChart
Hi Mike,
Did you figure this out? I have been trying to do this, but no success so far.
Thanks, Jabe
rcdjbp@yahoo.com
Did you figure this out? I have been trying to do this, but no success so far.
Thanks, Jabe
rcdjbp@yahoo.com
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
The category annotations can't be positioned at a subcategory, unfortunately. But you might be able to do what you want using a custom item label generator in the renderer.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

