I'm trying to find a way to create a chart that has two bars per category. One of the two bars need to be a stacked bar while the other is just a single bar with values on the same axis. DefaultCategoryDataset doesn't seem to support this when using the same category and different series - that just creates more stacks onto a single bar. If someone can simply point me to the correct dataset/chart type to achieve this effect, I think I can figure out the details.
Any advice would be greatly appreciated!
Combined bar/stacked bar chart
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You could probably achieve this with the GroupedStackedBarRenderer.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Combined + Stacked
Hi Reso,
Did you get this to work? I've been trying to do the same thing without success.
Thanks, Jabe
rcdjbp@yahoo.com
Did you get this to work? I've been trying to do the same thing without success.
Thanks, Jabe
rcdjbp@yahoo.com