Saving and loading properties of a chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Waz
Newbie
Newbie
Posts: 20
Joined: Wed Dec 02, 2009 12:00 am

Saving and loading properties of a chart

Post by Waz » Mon Dec 07, 2009 9:01 am

Hi

Is it possible to export the entire charts properties to a file(XML if possible) so that I can upload/Reference that file when needed or do I need to create this file and load the properties one by one?
The reason I am asking is that I would like an easier way to change all the properties of the chart during runtime an would like to pass these property files into other applications. So if I could create a chart that I like and export the charts properties to a file and then upload that file when needed this would help alot. The export part can be done during development and the import can be done during runtime.
Regards

Waz

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Re: Saving and loading properties of a chart

Post by Christopher » Mon Dec 07, 2009 11:57 am

Hello Waz,

Yes indeed, this can be achieved by the use of teechart's template files (*.ten files). Have a look at "Tutorial 12 - Exporting and Importing Charts" for details.
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Post Reply