showDate

scrolls the chart area to makes the specified date visible

void showDate(Date date);

Parameters

dateDatethe date to show in the chart

Example

gantt.showDate(new Date()); //shows the current date

See also
Back to top