Is it possible to set the color of a Line chart series based on the grouped data received from the DataSource?
1 Answer, 1 is accepted
0
Iliana Dyankova
Telerik team
answered on 19 Feb 2015, 11:31 AM
Hi Aerion,
If I understand correctly you have a color field in the dataSource and would like the seriesColor to get this color? This is not supported out-of-the-box, however it can easily achieved using the following approach: - Set series.colorField - In the dataBound event set the value of colorField as series color.
In case I am missing something please elaborate a bit more on the exact outcome you are trying to implement - this way I would be able to advice you further and provide concrete recommendations.
Regards,
Iliana Nikolova
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.