issue regarding TeeChart rendering

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

issue regarding TeeChart rendering

Post by Amol » Fri Apr 27, 2018 6:05 am

Hi Steema Support,

We are facing one issue regarding TeeChart rendering. We are using the Dot Net TChart version 2012.
The problem is that when we show/open a chart on Window form as dialog, first time form opens correctly.
img1.png
img1
img1.png (9.52 KiB) Viewed 7209 times

When we close the dialog and again reopens it (without creating the new instance of the form), we got crash on teechart.
img2.png
img2
img2.png (38.25 KiB) Viewed 7208 times
Please the the demo in attachments.
teechartDemo.rar
Demo
(55.81 KiB) Downloaded 766 times
Thanks in advance.

Thanks and Regards
Planoresearch

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: issue regarding TeeChart rendering

Post by Christopher » Fri Apr 27, 2018 10:42 am

Hello,

Okay, I have been able to reproduce this issue in the latest source code. I'm not yet entirely sure why it happens, but certainly the problem can be mitigated with the following code.

Code: Select all

private void Form2_FormClosing(object sender, FormClosingEventArgs e)
{
     tChart1.Chart.Graphics3D.BackBuffer = null;
}
Best Regards,
Christopher Ireland / 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

Post Reply