When it comes to a scenario with dynamic number of series you can use the chart's SeriesProvider
. You can find couple SDK examples demonstrating this feature in our GitHub repository. They are located under the following folders in the repo.
I want to make a small note about the scenario where the implicit styles theming mechanism
(NoXaml binaries) is used. In this case, if you are setting a custom style to the Style property of the chart's series descriptor you will need to base it on the default style of the series which it targets. Otherwise, the custom style will override the default one completely, including its ControlTemplate, and no data points will be displayed. For example:
This rule applies in all cases where implicit styles with a custom style are used.
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.