Hi:
Is there a way to save a TDBChart so that when it is reloaded it remembers the Data Source as Dataset/Labels/XVals/YVals. It seems that the data is saved but the Data Source is set to manual on reload, so the original source of the data is not remembered. I want users to be able to customize the chart for an associated dataset and then when they reopen at a later point, have the (possibly) new dataset points reflected in the chart.
Thanks,
Mark
SaveChartToFile and remember Data Source
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mark,
When saving a chart to a file it doesn't save the dataset. However data can be saved. When loading the file you should reassign the dataset programmatically. For more information on how to do that you could have a look at "Tutorial 8 - Database access". You will find the tutorials at the documentation folder at TeeChart program group.
When saving a chart to a file it doesn't save the dataset. However data can be saved. When loading the file you should reassign the dataset programmatically. For more information on how to do that you could have a look at "Tutorial 8 - Database access". You will find the tutorials at the documentation folder at TeeChart program group.
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 |