Is there a way to keep bars aligned to the left side of the chart rather than evenly spacing them out over the entire chart? If there is only a bar or two, I like them to be close together rather than symetrically spaced in the chart.
Michael
Keeping Bars Together
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You will need a custom axis to do that (plus you'll need to look closely at the communication between the BarRenderer class and the axis - hopefully there is a clean separation between them, but I forget the details).
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

