I have got two vertical bars (e.g. blue and red) for a category say 2001 and so on for 2002, 2003 years. My graph is coming up such that all bars are evenly distributed.
I need to join(or very close) blue and red bars for year 2001 and the similar with 2002 and so on.
How can I implement it ?
Plz help
Thanks
Joining vertical bars of same category label
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Try the setItemMargin(...) method in the BarRenderer class.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

