Open shrenik007 opened 5 years ago
It's all there in the docs: http://visjs.org/docs/timeline/#Configuration_Options
min | Date or Number or String or Moment | none | Set a minimum Date for the visible range. It will not be possible to move beyond this minimum. |
---|
The JS date constructor also accepts a time value: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Date
And here are the docs for moment.js: https://momentjs.com/docs/
Hi,
Is there any way to add datetime as min and max values. As of now I have seen only those examples where only new Date is used.
Instead of new Date, is there any possibility for new DateTime or something like this?
If not, then how can I control the values displayed on the timeline xaxis for the first time when page is loaded?