Data Binding RadChart to a Generic List
RadChart has been deprecated since Q3 2014 and is no longer recommended for use, as it does not support modern browsers. We strongly recommend using RadHtmlChart, Telerik's modern client-side charting component. To transition from RadChart to RadHtmlChart, refer to the following migration articles:
Explore the RadHtmlChart documentation and online demos to determine how it fits your development needs.
Because RadChart can be bound to objects that implement the IList interface, and generic lists implement IList, it follows that you can bind RadChart to generic lists.These lists can be of simple types, e.g. int and double types, or the lists can be composed of complex objects containing multiple properties.
-
See Data Binding RadChart to a Generic List of Simple Types for a minimal example binding to a list of type double.
-
See Data Binding RadChart to a Generic List of Objects for a more complex example where multiple properties are used for data and labeling.