Edit this page

Binding to XML at Design-Time using an XMLDataSource

caution

RadChart has been replaced by RadHtmlChart, Telerik's client-side charting component. If you are considering RadChart for new development, examine the RadHtmlChart documentation and online demos first to see if it will fit your development needs. If you are already using RadChart in your projects, you can migrate to RadHtmlChart by following these articles: Migrating Series, Migrating Axes, Migrating Date Axes, Migrating Databinding, Features parity. Support for RadChart is discontinued as of Q3 2014, but the control will remain in the assembly so it can still be used. We encourage you to use RadHtmlChart for new development.

To bind to XML at design-time using an XMLDataSource control:

  1. Click the RadChart Smart Tag "Choose Data Source" | "New Data Source".

    Selecting the Smart Tag

  2. From the "Choose a data source type" page of the wizard select "XML File" and click "OK".

    Choosing the Data Source Type

  3. Using the Browse button locate and select the XML file. Click OK.

    Selecting the XML File

See Also