Serialize Chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Posts: 3
Joined: Tue May 14, 2019 12:00 am

Serialize Chart

Post by Des » Tue Jul 09, 2019 5:17 am

I'm unable to serialize the chart template. I get the below error.

Stream stream = new MemoryStream();

"Type 'Steema.TeeChart.WPF.Drawing.Graphics3DWPF' in Assembly 'TeeChart.WPF, Version=4.2019.5.15, Culture=neutral, ... is not marked as serializable."

Posts: 1308
Joined: Fri Nov 15, 2002 12:00 am

Re: Serialize Chart

Post by Christopher » Tue Jul 09, 2019 7:30 am

Hello -

The following code running with TeeChart.WPF.dll v.4.2019.5.15 works as expected here:

Code: Select all

        private void TChart1_MouseDoubleClick(object sender, MouseButtonEventArgs e)
            var ms = new MemoryStream();
            ms.Position = 0;
Could you please post a code snippet with which we can reproduce your issue here?
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
Instructions - How to post in this forum

Post Reply