Space « GanttChart « JFreeChart Q&A

2. white space in gantt chart

3. Gantt - Bar Size and Spacing

Hi, I'm having a few issue with a Gantt chart and wonder if someone could point me in the right direction with how I can correct the chart. I've tried messing with plot.getDomainAxis().setCategoryMargin(0); plot.getDomainAxis().setLowerMargin(0.05); plot.getDomainAxis().setUpperMargin(0.05); GanttRenderer renderer = (GanttRenderer) plot.getRenderer(); renderer.setItemMargin(0); but none of these really get me close to what I'm after. 1) The bars aren't lining up with the ...