dhtmlxGantt show multiple colors in bar

Can one of the dhtmlxGantt bar have different colors in one bar, like a stack bar chart. currently I see that it has a color for the bar, and an overlapping color can be given based on % completed. But we would need a bar which shows something like this -

Jan - Apr: Green
May - Sept: Yellow
Oct - Dec: Red

Yes, it is possible to do that. Please check one of our examples:
docs.dhtmlx.com/gantt/samples/0 … ntent.html
I created a snippet for you, it demonstrates how to implement it in general (just display divs instead of task text for projects).:
If you need something else, please give me more specific details and explain how you imagine it should work.

We copied your code and converted to what we were expecting! Thanks for the support!