Data Binding RadChart to an ObjectDataSource
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.
RadChart can be bound to ObjectDataSource in multi-tier application scenarios.See the MSDN article ObjectDataSource Overview for more information on where and why you would use an ObjectDataSource control.
An ObjectDataSource represents a business object and provides data to data-bound controls in multi-tier applications. The application doesn't need to know how data is obtained as long as you connect the ObjectDataSource to an object that has DataObjectAttribute and DataObjectMethodAttribute attributes defined.See the following examples for how to create the business object and how to bind RadChart to ObjectDataSource:
-
Creating an object that can be consumed by ObjectDataSource.
-
Binding RadChart to ObjectDataSource at programmatically at run-time.