Performance of ChartView with a large number of data points

1 Answer 146 Views
ChartView
Dimitrios
Top achievements
Rank 1
Dimitrios asked on 16 Jan 2023, 09:57 PM | edited on 16 Jan 2023, 09:58 PM

We are attempting to make use of ChartView to plot a large number of data points, which display live data which is being received one point at a time. We are experiencing poor performance, with the charts rendering extremely slowly and presence of the resultant chart causing the application performance to drastically deteriorate, (presumably because of the large number of graphical elements present on screen).

We are attempting to implement a LineSeries (or FastLineSeries) which can display up to 90,000 data points.

Is there any guidance available regarding the capability of ChartView to plot a large number of points? Is plotting this many points something ChartView is capable of?

I believe that Telerik UI for WPF contains functionality to reduce the number of plotted points using sampling. Is there similar functionality available for Telerik UI for WinForms? Can you suggest an approach to implement similar functionality in a WinForms application?

For our requirements, one point is added to our dataset at a time; the remainder of the dataset remains fixed. Presumably, the entire chart is redrawn each time a new point is added, which is computationally expensive. Is there any way we can improve the chart rendering performance by removing the need to redraw the entire chart, adding only the novel data points to a pre-existing drawn series?

Are there performance considerations one should take into account when deciding whether to take  a data-binding-based approach or to directly add the DataPoints?

1 Answer, 1 is accepted

Sort by
1
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 17 Jan 2023, 11:29 AM
Hello, Dimitrios,

To be honest, 90,000 data points for our RadChartView is too much, indeed. We already have a similar feature request for data aggregation. You can track its progress, subscribe for status changes and add your comments on the following link:

https://feedback.telerik.com/winforms/1515763-chartview-aggregate-data-points 

Currently, the possible options for optimizing the performance in RadChartView that I can suggest are listed in the following KB article: https://docs.telerik.com/devtools/winforms/knowledge-base/tips-and-tricks-to-optimize-performance-in-chartview 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ChartView
Asked by
Dimitrios
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or