Page 1 of 1

Performance issue in Real time drawing

Posted: Thu Oct 22, 2009 5:41 am
by 14049736
Hello,

I am facing performance issue in real time drawing using TChart WPF version 3.5.3371.26405.
I am plotting real time data against time using FastLine Series. Initial points are 1000, after that adding one point in each second and removing first point from the series so that chart always shows 1000 points in a second.
Down sampling not Enabled.
If I am adding 10 series CPU utilization reaches up to 50 - 60 percentage.
Increasing the number of series or number of Initial points gradually increases the cpu utilization.
I am attaching a test application with this. Please say how to optimize it.

Thanks,
Vijay

Re: Performance issue in Real time drawing

Posted: Thu Oct 22, 2009 12:12 pm
by yeray
Hi vijay,

Please, take a look at the tips suggested here, there are some that would help your application be faster.
And also you could take a look at the demo at All Features\Welcome !\Speed\Realtime charting

Re: Performance issue in Real time drawing

Posted: Thu Oct 22, 2009 1:43 pm
by 14049736
Hi Yeray,

Thanks for your response. But I tried those thinks in the test application, but neither helps me. I cannot use Down sampling or DrawAllPoints option set to false.
I have a scenario, where I have to show 1000 points of 100 series and the values changing in each second, in that case CPU utilization is almost 100 %.You can reproduce it by using the test application.

Thanks,
Vijay

Re: Performance issue in Real time drawing

Posted: Fri Oct 23, 2009 10:02 am
by 10050769
Hello Vijay,

I am sorry but I don't think that your application is very improvable and note that, as narcis said here link, we don’t think WPF was designed for intensive drawing.

Thanks,