How can I dynamically (with C# code) associate the same color to the LineSeries Name (along with the X Axis), and the actual chart line in the SeriesItems?
1 Answer, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 27 May 2016, 08:31 AM
Hello,
The 10 build-in series colors for each Skin, together with colors for the axes, labels and other elements have been chosen by our designers. They are not chosen automatically (or through some algorithm) by the chart widget itself. Essentially, they are defined in Kendo themes that we use.
Thus, you can define the colors of your series and your axes through their properties if you do not like the default ones.
Alternatively, you can try another skin (e.g., Black) to see if you like its built-in color combinations better.
If this is not what you are looking for, could you explain your needs and requirements in more detail so I can get a better understanding of what you are trying to achieve?
If you would like to see some form of automatic mapping between series colors and axes colors, I suggest you post your idea in our Feedback portal (https://admin.telerik.com/feedback.telerik.com/project/108) together with a detailed description of how you expect it to work, especially in cases when there are multiple series per axis. This will let the community show their support and comments for it and if the concept gets popular, its implementation will be considered.
Regards,
Marin Bratanov
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.