SaveChart & LoadChart backward compatibilty

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Marcus
Newbie
Newbie
Posts: 6
Joined: Fri Nov 15, 2002 12:00 am

SaveChart & LoadChart backward compatibilty

Post by Marcus » Wed Sep 10, 2008 6:26 am

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?

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

Post by Narcís » Mon Sep 15, 2008 11:15 am

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!
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

Marcus
Newbie
Newbie
Posts: 6
Joined: Fri Nov 15, 2002 12:00 am

Post by Marcus » Tue Sep 16, 2008 12:40 am

Thanks.

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

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

Post by Narcís » Tue Sep 16, 2008 8:02 am

Hi Marcus,

Thanks for letting us know. Yes, that's right. We will try to add this for next releases.
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

Wysu
Newbie
Newbie
Posts: 21
Joined: Wed Apr 27, 2005 4:00 am

Post by Wysu » Wed Dec 17, 2008 2:33 pm

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

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

Post by Narcís » Wed Dec 17, 2008 7:14 pm

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.
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

Wysu
Newbie
Newbie
Posts: 21
Joined: Wed Apr 27, 2005 4:00 am

Post by Wysu » Thu Dec 18, 2008 9:26 am

Thank you for yours answers

Post Reply