This is a migrated thread and some comments may be shown as answers.

WPF maxing out chart performance?

1 Answer 276 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Maxwell
Top achievements
Rank 1
Maxwell asked on 10 Apr 2020, 01:41 PM

I am rendering 50,000 data points per seconds one 3 charts my UI freezes at that point... I am running 3 charts updating in real time with new data points coming in every second so I add them to the collection, I am implementing data virtualization for the scrolling but when scrolled out and a large number of samples is where I see the freeze. They are scatter series and I am not using a point template I have rendering set to bitmap and "Batch" Is there any other ways to significantly improve the performance? My process is only using 20-30% CPU and 400-600mb ram I have tried it on a box with a GPU also with no better result... I am stumped on this one guys.

 

Thanks!

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 15 Apr 2020, 07:32 AM

Hi Maxwell,

Thank you for the provided details.

I need to point out that updating the charts with a large number of data will schedule new rendering operations for each update. In this case, the performance decrease could be observed. Indeed not using PointTemplates is important for achieving better performance with a high number of data points. Also using our Rendering option.  You can also check out the other tips outlined in the following blog post: 5 Easy Steps Towards a Fast Chart.  That said, note that the light rendering options do not support displaying a tooltip. 

Please, give the tips in the referenced article a try and let me know how it goes.

Regards,
Dinko
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Chart
Asked by
Maxwell
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or