Gantt Chart multi colections

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

Gantt Chart multi colections

Post by Andrew » Tue Jan 21, 2003 9:50 pm

Hi, I'm working in a Gantt Chart, I'd like to have three series and I add them like this

GanttSeries s1 = new GanttSeries("Closed");
GanttSeries s2 = new GanttSeries("Actual");
GanttSeries s3 = new GanttSeries("Planned");

But it only add 2 lines, one red and one blue, my question here is:
is it possible to add 3 time series in the gantt chart? and no only two?, let me know thanks,

Regards

David Gilbert

Re: Gantt Chart multi colections

Post by David Gilbert » Wed Jan 22, 2003 4:30 pm

As far as I'm aware you should be able to add as many series as you want. If it is not working, send me a small demo showing the problem and I will trace the bug.

Regards,

Dave Gilbert

Andrew

Re: Gantt Chart multi colections

Post by Andrew » Wed Jan 22, 2003 10:10 pm

Thanks Dave, it works fine now, I have another question how can you set a particular color to each series that are being displayed in the chart?, thanks in advance.

Regards.

Locked