Page 1 of 1

WPF. SubChart. Performance problems.

Posted: Mon Aug 18, 2014 10:55 am
by 15669262
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.

Re: WPF. SubChart. Performance problems.

Posted: Tue Aug 19, 2014 8:42 am
by 10050769
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,

Re: WPF. SubChart. Performance problems.

Posted: Tue Aug 19, 2014 10:15 am
by 15669262
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.

Re: WPF. SubChart. Performance problems.

Posted: Tue Aug 19, 2014 3:19 pm
by 10050769
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,