-
Notifications
You must be signed in to change notification settings - Fork 92
Description
I’m experiencing an issue with fetching data through the API. In the network tab, the API call completes in 2–3 seconds, but the response appears empty. Rendering the data in the Gantt chart takes several minutes, even with only 15 items in the list.
If I comment out the Gantt chart, the network response shows the data correctly. I also tried using ngZone—the data is received in the expected 2–3 seconds, but the Gantt chart then freezes and takes a long time to render.
Additionally, I tried using:
@ViewChild('gantt') ganttComponent: NgxGanttComponent;
this.ganttComponent.rerenderView();
The rendering is very heavy. I also tested with the same data from the API as static data, and in that case, the Gantt chart displays it immediately.
I’ve tried the previously suggested solutions, but the issue persists.