Performance issue in Real time drawing

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
vijay
Newbie
Newbie
Posts: 42
Joined: Thu Jul 31, 2008 12:00 am
Contact:

Performance issue in Real time drawing

Post by vijay » Thu Oct 22, 2009 5:41 am

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
Attachments
TChartTestApp.zip
Performance Test Application
(45.28 KiB) Downloaded 430 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Performance issue in Real time drawing

Post by Yeray » Thu Oct 22, 2009 12:12 pm

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
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

vijay
Newbie
Newbie
Posts: 42
Joined: Thu Jul 31, 2008 12:00 am
Contact:

Re: Performance issue in Real time drawing

Post by vijay » Thu Oct 22, 2009 1:43 pm

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

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

Re: Performance issue in Real time drawing

Post by Sandra » Fri Oct 23, 2009 10:02 am

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,
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