Duplicating a chart
Posted: Fri Dec 17, 2004 11:06 am
I need to export my real time chart every few seconds (to show on a web page).
If I use GetExport.GetAsJPEG.SaveToFile() I resize it to 640x480, but this affects the drawing of the real time graph on screen.
To get around this I create a temporary chart, export as native the current chart, and LoadFromFile the saved chart (hope that's clear).
This seems a bit wasteful on resources (saving/loading). Is there a way to 'copy' a chart including data/settings without using a disk file?
If I use GetExport.GetAsJPEG.SaveToFile() I resize it to 640x480, but this affects the drawing of the real time graph on screen.
To get around this I create a temporary chart, export as native the current chart, and LoadFromFile the saved chart (hope that's clear).
This seems a bit wasteful on resources (saving/loading). Is there a way to 'copy' a chart including data/settings without using a disk file?