Native Export in XML format?
Native Export in XML format?
I need to export native chart properties in XML format - as demonstrated in the Export Dialog - any idea how to do that?
Thanks,
Hugh
Thanks,
Hugh
Hi Hugh,
I'm afraid it's not possible to save chart properties into an xml file. If you want to save them, you'll have to save into a tee file.
You can have a look at the detailed explanation in the tutorials:
Tutorials/Chapter 12 - Exporting and Importing Charts
And at the examples from features demo:
All Features/Exporting/Chart Data/XML
All Features/Exporting/Native binary format/Templates
Both tutorial and demos should be available at TeeChart's program group.
I'm afraid it's not possible to save chart properties into an xml file. If you want to save them, you'll have to save into a tee file.
You can have a look at the detailed explanation in the tutorials:
Tutorials/Chapter 12 - Exporting and Importing Charts
And at the examples from features demo:
All Features/Exporting/Chart Data/XML
All Features/Exporting/Native binary format/Templates
Both tutorial and demos should be available at TeeChart's program group.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Native Export in XML format?
that's what I also found - however - how it is done in the Export Dialog - there I can export in Text and XML???
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi hugh,
Text and XML only allows exporting chart data. You'll find an example at Tutorial 12 - Exporting and Importing Charts, "Exporting data" section replacing asHTML for asText or asXML.
Examples can also be found here:
http://www.teechart.net/support/viewtop ... ght=astext
http://www.teechart.net/support/viewtop ... ight=asxml
http://www.teechart.net/support/viewtop ... ight=asxml
Hope this helps!
Text and XML only allows exporting chart data. You'll find an example at Tutorial 12 - Exporting and Importing Charts, "Exporting data" section replacing asHTML for asText or asXML.
Examples can also be found here:
http://www.teechart.net/support/viewtop ... ght=astext
http://www.teechart.net/support/viewtop ... ight=asxml
http://www.teechart.net/support/viewtop ... ight=asxml
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 |
Instructions - How to post in this forum |
Narcis,
I did study all the lessons you are telling me - just to make sure we are on the same page and understand my question, please....
Open the Editing Window -> Export -> Tab: Native
this lets u:
a) select 'Include Series data'
b) select a 'Format': Binary
Text
XML
with the option to view Text and XML - and this data is the config for the chart...
c) the File size
so - it is possible in the editing tool...
thanks,
Hugh[/img]
I did study all the lessons you are telling me - just to make sure we are on the same page and understand my question, please....
Open the Editing Window -> Export -> Tab: Native
this lets u:
a) select 'Include Series data'
b) select a 'Format': Binary
Text
XML
with the option to view Text and XML - and this data is the config for the chart...
c) the File size
so - it is possible in the editing tool...
thanks,
Hugh[/img]
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Hugh,
Yes, we forgot to include these method (SaveToXMLFile and SaveToXMLStream) at runtime. We have just added them for the next maintenance release. In the meantime, if it's necessary, we can send you the .ocx with this feature.
Yes, we forgot to include these method (SaveToXMLFile and SaveToXMLStream) at runtime. We have just added them for the next maintenance release. In the meantime, if it's necessary, we can send you the .ocx with this feature.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Native Export in XML format?
Narcis,
Great - I would apprecciate if you could send me the ocx.
Thanks, Hugh
Great - I would apprecciate if you could send me the ocx.
Thanks, Hugh
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Hugh,
I've just sent you the new .ocx. Please remember that you'll need to unregister current version and register new one as I told on this thread.
I've just sent you the new .ocx. Please remember that you'll need to unregister current version and register new one as I told on this thread.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Export XML Native
Hi Narcis,
I did uninstall the old ocx - and installed the new ocx as described - but annot see any difference in functionality - even the version number remained 8.0.0.3 - it is possibe u just sent me the old version again??
Otherwise please explain how to export native into XML format - thanks
Hugh
I did uninstall the old ocx - and installed the new ocx as described - but annot see any difference in functionality - even the version number remained 8.0.0.3 - it is possibe u just sent me the old version again??
Otherwise please explain how to export native into XML format - thanks
Hugh
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Hugh,
Yes, you are right. I've sent you now the correct ocx. You should use it like this:
Yes, you are right. I've sent you now the correct ocx. You should use it like this:
Code: Select all
TChart1.Export.SaveToXMLFile FileName
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |