Loading in a Surface thats saved in XML format
Posted: Wed Jan 27, 2010 5:09 pm
Hi Support
Im developing an application in C#.NET.
From my application Ive saved a surface using the Teechart editor in XML format.
However I dont know how to load it again and display it in the TeeChart control within my application.
Ive added an XMLsource control to the form. My code is;
xmlSource1.Chart = tChart1.Chart;
xmlSource1.Load(fileName); /* fileName is the XML file
I think the data has loaded OK but I cant see my surface. Im guessing I have to build it up programmatically?
Can you post a code snippet that shows how this is done?
Thanks.
Im developing an application in C#.NET.
From my application Ive saved a surface using the Teechart editor in XML format.
However I dont know how to load it again and display it in the TeeChart control within my application.
Ive added an XMLsource control to the form. My code is;
xmlSource1.Chart = tChart1.Chart;
xmlSource1.Load(fileName); /* fileName is the XML file
I think the data has loaded OK but I cant see my surface. Im guessing I have to build it up programmatically?
Can you post a code snippet that shows how this is done?
Thanks.