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
loading settings from stream
Re: loading settings from stream
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.
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: loading settings from stream
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
Property Height does not exist
TChart.Title.Font.Height does not exist
TChart.BottomAxis.LabelsFont.Height does not exist
Jørgen
Re: loading settings from stream
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.
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: loading settings from stream
Is this something you will fix?
I would have been nice to have a file format that works on both platforms.
Jørgen
I would have been nice to have a file format that works on both platforms.
Jørgen
Re: loading settings from stream
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.
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: loading settings from stream
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.
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |