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.
Exception when Saving/Loading chart with Cursor Tool
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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?
It works fine for me here using the latest TeeChart for .NET maintenance release from last week. Which TeeChart version are you using?
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 |