showDate
Description
Scrolls the chart area to makes the specified date visible
showDate: (date: Date) => void
Parameters
date- (required) Date - the date to show in the chart
Example
gantt.showDate(new Date()); //shows the current date
Details
In the default mode, Gantt scrolls itself when you use the showDate method. But if the autosize mode is enabled, Gantt increases the size of its container to show itself on the page instead of showing the specified date. Read the Scrolling to hidden elements article to know how to solve this problem.