google / google-visualization-issues

288 stars 35 forks source link

Typo in options of Gantt "Computing start/end/duration" #2940

Open alexratman opened 2 years ago

alexratman commented 2 years ago

The Section of: https://developers.google.com/chart/interactive/docs/gallery/ganttchart#computing-startendduration has a typo in the code example which causes the default start time to always be incorrect.

var options = { height: 275, gantt: { defaultStartDateMillis: new Date(2015, 3, 28) } };

Should read:

var options = { height: 275, gantt: { defaultStartDate: new Date(2015, 3, 28) } };

dlaliberte commented 2 years ago

Thanks for your report Alex. This should be fixed as soon as I can get someone to review the change.