vis-timeline
vis-timeline copied to clipboard
Set zoom level to weekly scale
I would like to set initial zoom level to weekly view. How can I set?
Use the showWeekScale
option, along with start
and end
.
Found in documentation here:
- https://visjs.github.io/vis-timeline/docs/timeline/
And to some extent in examples here:
- https://visjs.github.io/vis-timeline/examples/timeline/styling/weekStyling.html
- https://visjs.github.io/vis-timeline/examples/timeline/interaction/limitMoveAndZoom.html
Use the
showWeekScale
option, along withstart
andend
.Found in documentation here:
- https://visjs.github.io/vis-timeline/docs/timeline/
And to some extent in examples here:
- https://visjs.github.io/vis-timeline/examples/timeline/styling/weekStyling.html
- https://visjs.github.io/vis-timeline/examples/timeline/interaction/limitMoveAndZoom.html
I think I asked wrong. I would like to draw timeline like this picture when timeline initialized.