Is there any way to export / import only the chart properties excluding series values?
I want to save only the design information and draw a chart with the same design with different series data values later.
Thanks
How to export/import chart properties only
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi sungard,
Yes, this is possible. You can export TeeChart to a native template file (.tee) or a memory stream as told in Tutorial 12 - Exporting and Importing Charts. When exporting a TeeChart template you can choose whether you want to include series data on it or not.
Yes, this is possible. You can export TeeChart to a native template file (.tee) or a memory stream as told in Tutorial 12 - Exporting and Importing Charts. When exporting a TeeChart template you can choose whether you want to include series data on it or not.
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 |
Thanks for the reply.
By the way, I'm using the 'TeeChartPro v6 ActiveX Control', and the tutorial doesn't seem to have the information.
It has the information about how to export/import 'Tee' files, but doesn't have information how to exclude the series data.
Is this supported in v6 or above?
Thanks again
By the way, I'm using the 'TeeChartPro v6 ActiveX Control', and the tutorial doesn't seem to have the information.
It has the information about how to export/import 'Tee' files, but doesn't have information how to exclude the series data.
Is this supported in v6 or above?
Thanks again
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi sungard,
Yes, this is supported in v6 and method's help file description is this:
procedure SaveToFile(Const FileName: WideString; IncludeData: WordBool);
Description
This method will save the current chart as a native TeeChart 'tee' template to the specified File Name. Use the IncludeData boolean property to include or exclude data from the tee file.
Yes, this is supported in v6 and method's help file description is this:
procedure SaveToFile(Const FileName: WideString; IncludeData: WordBool);
Description
This method will save the current chart as a native TeeChart 'tee' template to the specified File Name. Use the IncludeData boolean property to include or exclude data from the tee file.
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 |