WPF. SubChart. Performance problems.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
neurosoft
Newbie
Newbie
Posts: 14
Joined: Wed May 14, 2014 12:00 am

WPF. SubChart. Performance problems.

Post by neurosoft » Mon Aug 18, 2014 10:55 am

Hello steema!
I have terrible performance problems with the latest version of WPF TChart if I use SubChart.
Try to execute the following code and resize window with TChart to reproduce that:

Code: Select all
SubChartTool subChartTool = new SubChartTool();
MyTChart.Tools.Add(subChartTool);
TChart subChart = subChartTool.Charts.AddChart(string.Empty);


TChart must be resizable.
It seems that TChart.OnRender is called recursively.

It's awful bug, fix it ASAP please.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: WPF. SubChart. Performance problems.

Post by Sandra » Tue Aug 19, 2014 8:42 am

Hello neurosoft,

I am afraid I can't reproduce the problem here. Could you please send us a simple code where we can reproduce the problem here?

Thanks in advance,
Best Regards,
Sandra Pazos / 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

neurosoft
Newbie
Newbie
Posts: 14
Joined: Wed May 14, 2014 12:00 am

Re: WPF. SubChart. Performance problems.

Post by neurosoft » Tue Aug 19, 2014 10:15 am

Ok. I've attached a simple example where the problem appears. Just add to the project a reference to the latest version of TeeChart.WPF, run application and press the button 'button'. Then application works very slowly and processor is busy too much.
Attachments
WpfApplication1.zip
(76.35 KiB) Downloaded 523 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: WPF. SubChart. Performance problems.

Post by Sandra » Tue Aug 19, 2014 3:19 pm

Hello neurosoft,

Many thanks for your project. I have reproduced the problem here. We've added the problem in TeeChart.Net bugzilla tracker to fix it to upcoming versions of TeeChartVCL. Here http://bugs.teechart.net/show_bug.cgi?id=892
you have the link to the ticket.

Remember add your email account to the ticket so you can be automatically notified when and update arrives.

Thanks in advance,
Best Regards,
Sandra Pazos / 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