Page 1 of 1

LoadChartFromStream / SaveChartToStream

Posted: Thu Feb 12, 2009 12:09 pm
by 9341766
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 ?

Posted: Thu Feb 12, 2009 12:40 pm
by yeray
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.

Posted: Thu Feb 12, 2009 1:14 pm
by 9341766
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 ?

Posted: Thu Feb 12, 2009 4:26 pm
by yeray
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.