To bind RadChart to XML data you can:
Bind directly to the XML file itself programmatically at run-time.
Bind to XML data by using an XMLDataSource at design-time.
Products.XML is used for both examples. The XML file is located in the same directory as the default page used to display it.
<?xml version="1.0" encoding="utf-8" ?> <Products> <Product Name="Parka L" QuantityInStock="123"></Product> <Product Name="Parka M" QuantityInStock="56"></Product> <Product Name="Parka S" QuantityInStock="92"></Product> <Product Name="Mittens" QuantityInStock="12"></Product> </Products>