loading settings from stream

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
jls
Newbie
Newbie
Posts: 27
Joined: Fri May 06, 2011 12:00 am

loading settings from stream

Post by jls » Tue Jan 24, 2012 8:13 am

currently we store VCL charts to stream in a database.

Is it possible to save for the firemonkey chart to read the vcl settings or is it a common file format I can use?


Jørgen

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

Re: loading settings from stream

Post by Yeray » Tue Jan 24, 2012 3:23 pm

Hi Jørgen,

The VCL and FMX versions share the most part of the source code so the majority of properties saves in the tee files are exactly the same. So I don't think a tee file generated in VCL/FMX will present problems when trying to be imported in the other framework (FMX/VCL).
I've actually just tried it and found no problems loading in FMX a simple tee file with a chart with a Bar series and some data generated in VCL.
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

jls
Newbie
Newbie
Posts: 27
Joined: Fri May 06, 2011 12:00 am

Re: loading settings from stream

Post by jls » Wed Feb 01, 2012 1:04 pm

Seems to work but I got error some error:


Property Height does not exist
TChart.Title.Font.Height does not exist
TChart.BottomAxis.LabelsFont.Height does not exist


Jørgen

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

Re: loading settings from stream

Post by Yeray » Fri Feb 03, 2012 3:38 pm

Hi Jørgen,

Maybe I was too optimist...
The majority of the code is shared between FMX and VCL, but we had to introduce many IFDEFS to make the VCL code work on FMX because of the differences between the frameworks. Then, I'm afraid any property that exists in VCL but in FMX, saved in a tee file will give this problem when trying to be loaded in FMX.
So I'm afraid this properties should be removed from the tee file.
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

jls
Newbie
Newbie
Posts: 27
Joined: Fri May 06, 2011 12:00 am

Re: loading settings from stream

Post by jls » Thu Feb 09, 2012 11:46 am

Is this something you will fix?

I would have been nice to have a file format that works on both platforms.

Jørgen

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

Re: loading settings from stream

Post by Yeray » Fri Feb 10, 2012 4:02 pm

Hi Jørgen,

I'd say it's more a new feature request than a bug, but anyway I've added it to the wish list to be implemented in future releases (TV52016031).
Thanks for reporting it.
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

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

Re: loading settings from stream

Post by Yeray » Fri Mar 28, 2014 10:56 am

Hi again,

I've moved the TV52016031 internal ticket to the public tracker here:
http://bugs.teechart.net/show_bug.cgi?id=680
Feel free to add your mail account to the CC list so you can be automatically notified when an update arrives.
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