Can you provide some guidance on how to use XML data to populate my scatter charts (one with line, one without)? Your help is appreciated!
Hello Cyril,
What you can do is load your XML file into a DataSet like so: http://support.microsoft.com/kb/311566 and use the Series DataBind method to map the necessary columns. You can test this out with the xml file found here: http://help.infragistics.com/NetAdvantage/WinForms/2010.1/CLR2.0/?page=Chart_Binding_to_an_XML_File.html by adding two layers (area and spline) and mapping like so the “ds” DataSet to their series:
series.DataBind(ds.Tables[0],"open", "date");
series2.DataBind(ds.Tables[0],"close", "date");
For more information on handling the CompositeChart here is a link from our online documentation: http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.1/CLR2.0/html/Chart_About_Composite_Charts.html
Please let me know if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
Thanks, Petar! I got that to work. I do need further assistance regarding setting up the x axis. Is it possible to customize the min/max value as well as the interval? Can the maximum be a value that is a constant and not necessarily the maximum value of the series being graphed?
I appreciate any help as always!