Saving Chart State and properties into the database

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
NY
Newbie
Newbie
Posts: 5
Joined: Thu Jun 14, 2007 12:00 am

Saving Chart State and properties into the database

Post by NY » Thu Dec 13, 2007 8:25 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 14, 2007 9:21 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply