Hi,
How to increase the Gantt Chart bar width.
I tried the GanttRenderer.setMaximumBarWidth(1.0f) but this has no effect. It is always taking the default value.
Is there any way to increase the bar width.
Thanks and regards,
Sayan Maity
Gantt Chart Bar Width
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
setMaximumBarWidth() caps the width of the bars. In general, you can't specify the bar width, because it is calculated from the available space. You can reduce the upper and lower margins on the axis, the margin between bars, and the margin between categories --- all of which make more space on the chart available for the bars themselves.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 15
- Joined: Tue Feb 13, 2007 9:29 am