Viewport
Defined in: core/src/layout/window.ts:17
The visible part of the chart (glossary: Viewport): the scroller’s scroll offsets and its
client size, in CSS pixels, as the renderer reads them from the scroll container.
The sticky header covers the top headerHeight pixels of it.
Properties
Section titled “Properties”height
Section titled “height”
readonlyheight:number
Defined in: core/src/layout/window.ts:25
Height of the viewport, header included.
scrollLeft
Section titled “scrollLeft”
readonlyscrollLeft:number
Defined in: core/src/layout/window.ts:19
Horizontal scroll offset: the time scale x at the left edge of the viewport.
scrollTop
Section titled “scrollTop”
readonlyscrollTop:number
Defined in: core/src/layout/window.ts:21
Vertical scroll offset: the body y at the bottom edge of the sticky header.
readonlywidth:number
Defined in: core/src/layout/window.ts:23
Width of the viewport.