RadChart for ASP.NET AJAX

RadControls for ASP.NET AJAX

To bind to the data in code at runtime to the XML file directly, use the Server.MapPath property to locate the XML on disk. The example code below has code that assigns the data and data labels columns as well as massaging the general appearance of the chart. The two critical lines of code that you must have to minimally bind to the XML file are the assignment of the DataSource and the call to DataBind().

The running application looks something like the figure shown below.

 
Binding to XML Data

See Also