Page 1 of 1

Serialize Chart

Posted: Tue Jul 09, 2019 5:17 am
by 15686230
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."

Re: Serialize Chart

Posted: Tue Jul 09, 2019 7:30 am
by Christopher
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?