Hello, I am Gaizka Landa from Ingeteam Zamudio - Tech.,
We are facing challenges when trying to use KendoUI Charts in an Angular Web Application to display large digital electrical signals. We use two charts for this purpose - the first chart shows the complete signal and enables the user to select a portion of it, which is then displayed with more detail in the second chart.
However, the webpage often breaks or fails to load when we need to display a signal with up to 100,000 samples or 200 different signals each with tens of thousands of samples. The issue arises when the Kendo Chart component exceeds the Maximum Call Stack Size or Chrome cannot handle the data.
We are using Line Charts, but we have considered using Scatter Type Charts, which are supposed to have better performance, but the latter doesn't support the "Select" option in the categoryAxis, which is necessary for the user to select the data displayed in the second chart.
To optimize performance, we have followed the KendoUI Performance Tips such as enabling Canvas Rendering, removing grid lines, reducing the number of labels in the Category Axis, and implementing custom pagination to display the signal in batches. We have also set the visibility of "markers" and "highlight" to "false." Despite these efforts, we still face issues and are seeking additional ways to optimize the performance for displaying very large data.
Can you please provide any suggestions or recommendations for optimizing the performance in such cases?
Thank you for your help in advance!
Same Problems here.
Is there any other way to improve Performance?
Something like rendering only every n-th value dynamically depending on the size of the Data selected with the selection?
@Gaiza Have you found something to increase your performance?
Hi Leo,
The only thing that can be done (except for the afore mentioned techniques) to optimize the performance at this point is to improve the data source of the Chart, meaning loading less data at a time. I am aware of the fact that this might not satisfy the project requirements (and what the users potentially expect). But currently reducing the amount of data is the only available workaround to achieve a satisfactory performance of the Charts.
Since there is room for improvement in terms of Chart performance please cast your vote for the following feature request:
https://feedback.telerik.com/kendo-angular-ui/1642667-improve-chart-performance