You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I'm generating config and initializing GSTC, if I have calculatedZoomMode set to true with correct config.chart.time.from and config.chart.time.to, and the number of columns is larger than 5 I get the error u.allDates[u.level] is not iterable,
If I use the same data for chart items and rows, and the number of columns is less than 5 then it loads. If i set calculatedZoomMode to false and custom zoom is used then it works. Also if i load the config with calculatedZoomMode on false, then I can update it to true and it works (loads chart data).
Code
Generate config with 10+ columns, and set calculatedZoomMode on true, and then supply it to constructor like this:
Describe the bug
When I'm generating config and initializing GSTC, if I have calculatedZoomMode set to true with correct config.chart.time.from and config.chart.time.to, and the number of columns is larger than 5 I get the error u.allDates[u.level] is not iterable,
If I use the same data for chart items and rows, and the number of columns is less than 5 then it loads. If i set calculatedZoomMode to false and custom zoom is used then it works. Also if i load the config with calculatedZoomMode on false, then I can update it to true and it works (loads chart data).
Code
Generate config with 10+ columns, and set calculatedZoomMode on true, and then supply it to constructor like this:
gantt-schedule-timeline-calendar version
What version are you using?
Version 3.20.1
Screenshots or movies
Columns that load data correctly:
Columns that cause the issue:
The text was updated successfully, but these errors were encountered: