Different color for tasks present in same TaskSeries

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
anji
Posts: 1
Joined: Thu Dec 17, 2015 6:44 am
antibot: No, of course not.

Different color for tasks present in same TaskSeries

Post by anji » Thu Dec 17, 2015 7:11 am

Hi ,
I have implemented a gantt chart with has 1 taskseries and under it 8 tasks, out of which 3 tasks(consider task3,task4,task5) have subtasks.
Am able to add different color for subtasks, but for rest of the tasks color is coming as same. My question here is how can i get different color for Tasks in same Taskseries.

Fyi- Tasks are differentiated by time. If any task endtime is less then a time say 3pm, then those should be green and if any tasks starttime is greater then 3pm then they should be red. If task has 3pm between its start and end time, then it should have 1 subtask as green and another subtask as red.

please help me on this. Thanks in advance.

Locked