vis-timeline icon indicating copy to clipboard operation
vis-timeline copied to clipboard

Set zoom level to weekly scale

Open ayberkcal opened this issue 2 years ago • 2 comments

I would like to set initial zoom level to weekly view. How can I set?

ayberkcal avatar Sep 07 '22 21:09 ayberkcal

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

pwlinkas avatar Sep 08 '22 12:09 pwlinkas

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

I think I asked wrong. I would like to draw timeline like this picture when timeline initialized. image

ayberkcal avatar Sep 09 '22 13:09 ayberkcal