Hi,
I am trying to set specific series to certain colours and they are not being set and just revert to the default colours chosen by Telerik.
I am trying to set the specific colours with the following code:
TimelineChart.PlotArea.Series[0].ColorField = "#8C1717";
TimelineChart.PlotArea.Series[0].Name = "Very High Risks";
TimelineChart.PlotArea.Series[1].ColorField = "red";
TimelineChart.PlotArea.Series[1].Name = "High Risks";... and so forth
This is not working although I believe it should. If I change the names of the series, I get the desired changes, it is just the colours that are not the desired ones.
Any thoughts?
I am trying to set specific series to certain colours and they are not being set and just revert to the default colours chosen by Telerik.
I am trying to set the specific colours with the following code:
TimelineChart.PlotArea.Series[0].ColorField = "#8C1717";
TimelineChart.PlotArea.Series[0].Name = "Very High Risks";
TimelineChart.PlotArea.Series[1].ColorField = "red";
TimelineChart.PlotArea.Series[1].Name = "High Risks";... and so forth
This is not working although I believe it should. If I change the names of the series, I get the desired changes, it is just the colours that are not the desired ones.
Any thoughts?