Page 1 of 1

Saving Chart State and properties into the database

Posted: Thu Dec 13, 2007 8:25 pm
by 13045524
Hi,
We a requirement to save the chart state into the database. Chart properties will be set from the editor in runtime. And all the chart settings need to be save for the future use. We can not save the settings in a file since the chart can be viewed by the multiple users.

Let us know the best way to implement the above. If you can provie us the code snippets then it will great.

Posted: Fri Dec 14, 2007 9:21 am
by narcis
Hi NY,

The only way to save chart's properties is exporting charts into a native template file (.tee) or a MemoryStream. You'll find more information on how to do that at Tutorial 12 - Exporting and Importing Charts , specially in the TeeChart's 'Ten' template and data export import format section. You can also find an example here.