I need to save several charts (not including series data) and some application defined variables (such as number of charts) to a file. Can I intermingle application defined data and charts saved with SaveToStream in the same file. I'm using Visual C++, MFC.
A general overview is as follows;
Saving
CreateMemoryStream
Save ApplicationData to MemoryStream e.g number of charts
for each Chart
Save Each Chart (using SaveToStream)
Save MemoryStream to File
Loading
Load Application data e.g. Number of charts
For each chart
Load Each Chart (using LoadAsStream)
SaveToStream - Multiple Charts in a file
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi nbp,
What you request can not be done directly using TeeChart. However, you could implement your own "SaveToStream" method that saves all the charts then load the stream generated and generate several streams from it to load on each chart.
What you request can not be done directly using TeeChart. However, you could implement your own "SaveToStream" method that saves all the charts then load the stream generated and generate several streams from it to load on each chart.
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 |