Three or more colors on single task

Can I use three colors (or more) of single task?
Is it possible?

(see docs.dhtmlx.com/gantt/desktop__c … tasks.html )

You can set a custom css class on task, and through it assign separate colors to each element of task.

Even I have a similar question but just wanted to doublecheck if my need will also be met with the custom css method you have suggested.

Say if I have a task running for 8 months. I want to be able to exactly specify that it should have color X from date A to B and color Y from date B to C and so on…

Will this be possible ?

Thanks for your help.

Hi,
tasks can be colored using html template function, check the example:
docs.dhtmlx.com/gantt/samples/04 … ntent.html

Although the sample uses relative positioning for colored parts, you can define a custom template function, that will inject the highlighted parts into the task element as it suitable for your application.
You may also check the previous discussions viewtopic.php?f=15&t=36734