The legend colors are not matching the colors I have set for the individual series in my bar chart. I have read through several different forum topics that were supposed to have a solution, but none of them seem to work. I am using hexadecimal web colors and assigning them to Series.Color as specified in "http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-series.color". How can I CUSTOMIZE or SET the legend colors as well? I have read the following forum topics, but neither solve the problem.
http://www.telerik.com/forums/legend-color-change#Feo0EzBZ6E6jA3Ns-3WOjQ
http://www.telerik.com/forums/stack-bar-chart#HvKBqPuqP023kBLIQHAnrA
6 Answers, 1 is accepted
This DOJO shows the correct color legend:
http://dojo.telerik.com/@ezanker/ITOdO
Can you edit it to reproduce your issue?
Upon updating to the latest version, I am still having issue getting the legend to display the same colors as the columns in the charts. Has anyone else reported having similar issues?
There are not any known reasons for the series color option not to be applied to the legend. The problem could occur if you are using the colorField option which will set the color for individual points but not for the series. If that is the case and the color field for all points in the same series is the same then you can use the dataBound event to set the series color - example. If this is not scenario then please provide a runnable sample that replicates the problem or at least the code that you are using so I can try to replicate it on my side.
Regards,
Daniel
Telerik
OK, I am closing the ticket but if you have the time could provide a repro sample that demonstrates the issue? It might be a bug that requires fixing.
Regards,
Daniel
Telerik