How do I set a fixed size for gantt tasks?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
bjarven
Posts: 1
Joined: Wed Oct 03, 2012 2:35 pm
antibot: No, of course not.

How do I set a fixed size for gantt tasks?

Post by bjarven » Tue Oct 08, 2013 12:17 pm

Hi!

I'm using the gantt chart to display various information. When I have one task in the chart, it takes up all the space. And as I add more tasks they share the available space and become smaller. This is the default behavious I guess.

Now I'd like to have a fixed size for each task... And when I add more tasks I'd prefer if the whole chart grew in size instead, so I could scroll it.

I've looked for any settings to the chart/plot/renderer that would make it behave in this way, but haven't found any. Do you know if there are any?

If now I guess my best bet would be to subclass the renderer and modify it.

Any ideas?

Locked