Set the vertical margin between two series?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Jost Schulte

Set the vertical margin between two series?

Post by Jost Schulte » Wed Mar 05, 2003 10:39 pm

Hi,

I created a Gantt-Chart with two series, one is for diplaying the planned activities and the other one displays the actual activities. The labels on the y-axis are the objectives of the activities.
One planned and one actual activity belong together and have the same objective.
How can I set the vertical margin between these series?

Thanks for your help,
Jost

David Gilbert

Re: Set the vertical margin between two series?

Post by David Gilbert » Thu Mar 06, 2003 5:39 pm

I forget whether it is setCategoryMargin(...) in the category axis, or setItemMargin(...) in the renderer. One or the other...

Regards,

Dave Gilbert

Jost Schulte

Re: Set the vertical margin between two series?

Post by Jost Schulte » Thu Mar 06, 2003 10:27 pm

Yes, setting the item margin was the one I was looking for.
Thank you, Dave!

Regards,
Jost

Locked