Hello,
I want to save chart data and settings with SaveChartToStream function. This step seems to work fine. However when I want to load the saved stream into a new chart I get error messages 'Class TPointSeries not found', 'Class TBarSeries not found'... If I use the same procedure without series (empty dummy chart) I don't get any error.
Have I to call some TChart initialization function before loading the stream?
Thank you,
JM Biollaz
SaveChartToStream problem
Hi.
Before loading chart you have to register all series/tools classes you originally exported. This can be done by using RegisterTeeSeries(...) and RegisterTeeTool(...) routines. Or (much better and simpler solution) by including the TeeEditPRO unit to the import form Uses section. Including TeeEditPRO automatically registers all series/tool types.Have I to call some TChart initialization function before loading the stream?
Marjan Slatinek,
http://www.steema.com
http://www.steema.com