Page 1 of 1

Exception when Saving/Loading chart with Cursor Tool

Posted: Fri Oct 06, 2006 6:11 pm
by 9791383
The following throws an exception, when the chart has a Cursor Tool:

MemoryStream template = new MemoryStream();
TChart printChart = new TChart();

Chart.Export.Template.Save(template);
template.Position = 0;
printChart.Import.Template.Load(template);

To work around it, I must remove the tool prior to the export.

Posted: Mon Oct 09, 2006 9:12 am
by narcis
Hi davidh,

It works fine for me here using the latest TeeChart for .NET maintenance release from last week. Which TeeChart version are you using?