Loading/Saving annotations
Loading/Saving annotations
I would appreciate any guidance as to how I provide the capability to load/save annotations for a chart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi heidi,
Could you please give us more detailed information on what are you exactly trying to achieve?
Thanks in advance.
Could you please give us more detailed information on what are you exactly trying to achieve?
Thanks in advance.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi heidi,
Have you tried exporting TeeChart into a template without including data? For more information please read Tutorial 12 - Exporting and Importing Charts. You'll find the tutorials at TeeChart7Manual.chm in TeeChart's Docs folder.
Have you tried exporting TeeChart into a template without including data? For more information please read Tutorial 12 - Exporting and Importing Charts. You'll find the tutorials at TeeChart7Manual.chm in TeeChart's Docs folder.
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 |
Loading/Saving annotations
What I would like to do is save/load specific properties and tools belonging to a chart such as annotations.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi heidi,
That's what TeeChart template files (.tee) are used for. You can also choose wether to save chart's data or not. You'll find an example on how to use it at this thread.
That's what TeeChart template files (.tee) are used for. You can also choose wether to save chart's data or not. You'll find an example on how to use it at 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 |
Hi heidi,
in this case, the only way is by saving the annotation as you own, using a custom text file for example.
in this case, the only way is by saving the annotation as you own, using a custom text file for example.
Pep Jorge
http://support.steema.com
http://support.steema.com
Loading/Saving annotations
Yes, I am managing to do this quite successfully although I'm puzzled as to why some properties are not saved while others are. For example, when I create an Annotation I allocate it an OnClick event. It works fine when first created but if I subsequently save/load it 'loses' the OnClick event property. (Checking the saved text file, I note that it is not included so I guess it's the saving side that's faulty)
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi heidi,
Events are never saved, you need to set them to nil before saving and assign them again after loading saved objects.
Events are never saved, you need to set them to nil before saving and assign them again after loading saved objects.
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 |