RadChart for ASP.NET AJAX

RadControls for ASP.NET AJAX

To bind RadChart to XML data you can:

  1. Bind directly to the XML file itself programmatically at run-time.

  2. 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.

CopyXML
<?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>

See Also