I'm trying to implement a feature where when a user double-clicks on a histogram bar in the ResourceHistogram, the Gantt chart filters to show only tasks that fall within that date range.
Specifically, this is what I'm trying to achieve:
Capture the date range of the specific bar the user clicked on
Filter the Gantt tasks to only show those that fall within or overlap that date range
Ensure parent tasks are only included if they have at least one child task in the date range
I used this code you provided, but since I'm coding in TypeScript, it throws a TypeScript error when running yarn build. However, the chart still works fine when running yarn start
Do you have any suggestions for the TypeScript the code above?