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
Performance issue in Real time drawing
Performance issue in Real time drawing
- Attachments
-
- TChartTestApp.zip
- Performance Test Application
- (45.28 KiB) Downloaded 424 times
Re: Performance issue in Real time drawing
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
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Performance issue in Real time drawing
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
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
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,
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 |
Instructions - How to post in this forum |