Many business applications rely on database data, for example MS SQL, Oracle, MySQL, Access ODBC as well as XML data and business objects in multiple-tier scenarios. RadChart allows automatic binding to all of these using either standard Microsoft supplied data source controls SqlDataSource, AccessDataSource, XmlDataSource and ObjectDataSource or any DataSourceControl implementation. The end result is shown in the chart immediately at design-time.
You can also bind RadChart to a data source that implements one of the following interfaces:
IBindingList: Extends IList an supports binding to a data source.
IListSource: Provides functionality to an object to return a list that can be bound to a data source.
Some of the implementations of these interfaces include:
You can also bind to XML data through an XMLDataSource or directly to an XML file.
Once you have the data source defined you can use the RadChart Wizard, Property Editor or code for selecting which data columns will be used to populate the chart. The key properties for binding to a data source are: DataRelatedPropertiesSeriesDataRelatedPropertiesAxisDataRelatedPropertiesChart