Hello,
I have a dbchart where each serie is linked to a different datasource.
This chart is saved to a file and restored later.
SaveChartToFile(Chart, SaveChartDialog->FileName, true, true);
restore:
LoadChartFromFile(Chart, OpenDialog->FileName);
Although the datasource link is stored in the file for each serie when I load the chart from file, the datasource is null for each serie and I have to reassign it by code.
I'm using TeeChart 7.07 for BCB6.
Is this a bug or I am missing something?
Thanks,
Vasile
Serie's datasource not restored when chart loaded from file
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Vasile,
This is not a bug. When you are saving a chart into a file you can choose wether to save its data or not. However, datasources are not stored and need to be re-assigned programmatically.
This is not a bug. When you are saving a chart into a file you can choose wether to save its data or not. However, datasources are not stored and need to be re-assigned programmatically.
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 |