Serie's datasource not restored when chart loaded from file
Posted: Fri Jun 23, 2006 12:34 pm
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
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