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.
Loading in a Surface thats saved in XML format
Re: Loading in a Surface thats saved in XML format
Sorry this question was a lazy of me. Ive built up a class and loaded the X,Y,Z points from the xml datasource. From there Ive created a surface OK.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Loading in a Surface thats saved in XML format
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |