Gantt chart performance issues with large amount of data

1 Answer 217 Views
Data Source Gantt
Hovhannes
Top achievements
Rank 1
Hovhannes asked on 21 Nov 2022, 09:08 AM

Hi,

I have a question regarding Gantt chart performance, when having large amount of data. I expect that my Gantt chart will have ~10.000 rows minimum, but I am starting to face some performance issues  with this amount of data.  The widget becomes laggy and responses to user actions with a delay.

So my question is what is the maximum row count that Gantt supports?  Maybe I've reached it? 

Thank you)

1 Answer, 1 is accepted

Sort by
1
Neli
Telerik team
answered on 24 Nov 2022, 06:50 AM

Hi Hovhannes,

The performance depends on the amount of HTML elements that will be rendered on the page. When a such number of tasks are loaded simultaneously in the Gantt, the browser JavaScript engine has difficulties processing all the generated content. 

To improve the browser performance you could load less data in the widget, so fewer DOM elements are created when the page loads. Also, if it fits the requirements of your project, you could use a view with fewer slots, such as the Month View. You could also limit the currently shown range in Gantt, by using the range method. You will find a such example in the following Demo

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Hovhannes
Top achievements
Rank 1
commented on 24 Nov 2022, 07:47 AM

Hi Neli,

thank you for your answer. Okay, I got you. If I want to have more performant page, you are suggesting to have lesser amount of data. However the requirements of my project are to load  data to the Gantt as much as possible, without having performance issues. 

So I want to know the limitation (the maximum number of rows), after which the performance will fail.

Or can you provide some examples of big data in the Gantt chart, that performs well, to build my application considering that numbers in them. 

Regards.

Neli
Telerik team
commented on 29 Nov 2022, 06:30 AM

Hi,

There is no specific limitation in the number of rows as it all depends on the used browser. For example if you are using templates this could also affect the performance.

What I would suggest is to vote for the Fetaure requests regarding adding loadOnDemand functionality and virtualization linked below:

https://feedback.telerik.com/kendo-jquery-ui/1360355-load-on-demand-in-kendo-gantt

- https://feedback.telerik.com/kendo-jquery-ui/1359495-gantt-virtualization

Regards,

Neli

Tags
Data Source Gantt
Asked by
Hovhannes
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or