This content has been marked as final. Show 3 replies
Although the data section of your generated chart XML contains references to styles, such as CadetBlue2, yellow, etc, you haven't actually defined those styles within the <period_styles> tags of the XML. Therefore, the chart will apply the default blue colour to each timeline of the chart. You'll see that there's a default style called defaultStyle already generated for you in the XML i.e.
What you need to do is create your own styles, mirroring the defaultStyle example, in order to apply other colours to your gantt chart. I've updated your XML to include a new yellow style, so you can see that one of the elements of the chart now picks up that colour.
My sample chart, Resource Gantt with Custom Styles, should hopefully help to explain what you need to do in order to apply custom colours to your chart: http://apex.oracle.com/pls/apex/f?p=36648:60
I hope this helps.
Am working on this gantt chart and looking for the similar solution.
Am able to look at the link provided by you, http://apex.oracle.com/pls/apex/f?p=36648:60:
In that link, am not able to view the xml given in Step 6 and Step 9, i understand that this xml is going to change the styles to adopt multiple colors to our gantt chart.
It would be helpful if you share this xml part with us for more clarity.
Thanks in advance.