Page 1 of 1

Saving and loading properties of a chart

Posted: Mon Dec 07, 2009 9:01 am
by 15654776
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.

Re: Saving and loading properties of a chart

Posted: Mon Dec 07, 2009 11:57 am
by Chris
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.