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

Problem with large amounts of live data

1 Answer 261 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Maxwell
Top achievements
Rank 1
Maxwell asked on 03 Dec 2019, 03:41 PM

     I have a rad Cartesian chart that updates live as data comes in, I have the render options set to Direct2D and seperate. I have tried bitmap/batch also and it seems to not make a difference. 

The problem is When the collection of data starts to reach around 20,000 datapoints the UI will completely freeze up although the code is still executing. 

I have a requirement to update live data up to 300,000 data points at a rate of 50HZ. Is this possible with your tools?

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 06 Dec 2019, 10:52 AM

Hello Maxwell,

I've tested the Direct2DRenderOptions and the performance with 300,000 data points is fine. However, the performance degrades when I try to update all the data points at each ~20 milliseconds. This is because, changing a data point property starts some processing in the chart and then, the chart is scheduling a rendering action for its viewport again in order to update the plot area according to the change. This could be a slow process when it comes to 300,000 data points.

Also, such number of data is no readable because of the limit that comes from the display resolution. This said, you can optimize the performance by showing only a portion of the plotted data, by zooming-in the chart and implement some kinda of data virtualization. Another way to show the data is to use the sampling feature of the chart.

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Chart
Asked by
Maxwell
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or