LoadChartFromStream / SaveChartToStream

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Wysu
Newbie
Newbie
Posts: 21
Joined: Wed Apr 27, 2005 4:00 am

LoadChartFromStream / SaveChartToStream

Post by Wysu » Thu Feb 12, 2009 12:09 pm

Hi,

I'm using TeeChart FullSource 7.04 and I'm really surprised that
LoadChartFromStream / SaveChartToStream functions don't save color, style, legends, title ... properties from my chart.

Does any function exists who save my entire chart ?
Or may I save all properties interesting me in other Objects ?

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Feb 12, 2009 12:40 pm

Hi Wysu,

Yes you are right. There are some properties that these functions aren't saving/loading well. Here we discussed about the issue.

Excuse us for the inconvenience.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

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

Post by Wysu » Thu Feb 12, 2009 1:14 pm

THank you for your answer.

I resume what I've understand:
* All properties are in the stream
* LoadChartFromStream don't retrieve all properties
* I can overload the Load method and read properties in the stream.

Additional question :
if i change teechart version (mine is 7.04) can I have some progress ?
If yes in wich version ? 7.12 ? 8 ?

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Feb 12, 2009 4:26 pm

Hi Wysu,

Well, resuming, the problem is when you have a source chart without modifications and you want to force those "default" properties to the destination (and modified) chart.

For example you could have a source chart without modifications (so it's in 3D) and a destination chart set to 2D. The 3D property won't be saved to the stream file and won't be applied to the destination chart.

So, the "default" properties, those which aren't written to the .dfm, aren't saved to the stream file.

What properties are you trying to export?

Of course, we always recommend to use the latest teechart available at download area. But I'm afraid you would find those same "problems" in v8.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply