Got an error while trying to run zoomToFit on histogram meanwhile zoomToFit is working on scheduler for the same project.
Uncaught TypeError: Cannot read properties of undefined (reading 'getTotalTimeSpan')
at ResourceHistogram.zoomToFit (gantt.module.js:165098:1)
at Button.onAction (ToolBar.js:151:1)
at Button.callback (gantt.module.js1)
at Button.trigger (gantt.module.js:6062:1)
at Button.onInternalClick (gantt.module.js1)
at HTMLButtonElement.handler (gantt.module.js1)
zoomToFit @ gantt.module.js:165098
onAction @ ToolBar.js:151
callback @ gantt.module.js:2962
trigger @ gantt.module.js:6062
onInternalClick @ gantt.module.js:36775
handler @ gantt.module.js:17897
it's not working for demo project as well - https://www.bryntum.com/examples/scheduler-pro/resourcehistogram/
Let me know if there any workaround