white space in gantt chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Aniket_kedari
Posts: 17
Joined: Tue Jun 24, 2008 3:03 am

white space in gantt chart

Post by Aniket_kedari » Mon Sep 01, 2008 7:15 am

Hi Friends,
I have specific problem in gantt chart.
I developed a Conference hall booking chart using Gantt chart.
The chart looks like as shown is image. Now I want to adjust the height of white space between the domain axis and first task(space shown by arrow in image).
Image
Can anybody tell me how it can be reduced?
Thanks in advance

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Sep 01, 2008 8:18 am

Use the setLowerMargin() and setUpperMargin() methods in the CategoryAxis.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked