Page 1 of 1

SaveChart & LoadChart backward compatibilty

Posted: Wed Sep 10, 2008 6:26 am
by 5887294
Hi,
I used Teechart 5 in my project and i used SaveChartStream and LoadChartStream. Recently i changed over to TeeChart 8 evaluation version, and it won't allow to load the file that was once saved using the previous version. So my question is, Is there a backward compatibily issue?

Posted: Mon Sep 15, 2008 11:15 am
by narcis
Hi Marcus,

Yes, for loading files from old TeeChart version you may need to use LoadChartFromFileCheck like this:

Code: Select all

  LoadChartFromFileCheck(TCustomChart(Chart1),AFileName,nil);
Hope this helps!

Posted: Tue Sep 16, 2008 12:40 am
by 5887294
Thanks.

but I couldn't find it in the TeeChart v8 help ?

Posted: Tue Sep 16, 2008 8:02 am
by narcis
Hi Marcus,

Thanks for letting us know. Yes, that's right. We will try to add this for next releases.

Posted: Wed Dec 17, 2008 2:33 pm
by 9341766
Hi,
i raise this post because I've a related question :

If I use SaveChartTo & LoadChartFrom, with my version (7.04 full source) to save chart properties.

In a couple of months,
if I buy TeeChart 8 or 9 or 10
because new features attract me,
can i be sure that my saved stream (or files) charts, will always Load with the new version ?
Or may I use an selfmade intermediary object to store chart properties ?

Thanks

Posted: Wed Dec 17, 2008 7:14 pm
by narcis
Hi Wysu,
If I use SaveChartTo & LoadChartFrom, with my version (7.04 full source) to save chart properties.
Please notice that there's v7.12 source code version available at the client download area.
In a couple of months,
if I buy TeeChart 8 or 9 or 10
because new features attract me,
can i be sure that my saved stream (or files) charts, will always Load with the new version ?
Or may I use an selfmade intermediary object to store chart properties ?
Yes, backwards compatibility is something we specially care about and you shouldn't have problems loading v7 files in v8.

Posted: Thu Dec 18, 2008 9:26 am
by 9341766
Thank you for yours answers