Exception when Saving/Loading chart with Cursor Tool

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
davidh
Newbie
Newbie
Posts: 2
Joined: Wed May 24, 2006 12:00 am

Exception when Saving/Loading chart with Cursor Tool

Post by davidh » Fri Oct 06, 2006 6:11 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Oct 09, 2006 9:12 am

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?
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply