1
我有一個VisJS時間表,範圍從2017年1月到2018年。時間表以年中三個月爲中心開放,但我希望每次都以當前時間爲中心開放。當前日期的公開時間表 - VisJS
min: new Date(2017, 1, 5), // lower limit of visible range
max: new Date(2018, 1, 11), // upper limit of visible range
zoomMin: 1000 * 60 * 60 * 24, // one day in milliseconds
zoomMax: 1000 * 60 * 60 * 24*31*3, // three months in milliseconds
謝謝盧卡斯! – user7631026