Skip to main content

Interface: HeaderTickContext

Defined in: layout/header-tick.ts:6

Properties​

band​

readonly band: number

Defined in: layout/header-tick.ts:8

Which header band the tick sits in. Band 0 is the coarsest.


locale​

readonly locale: LocalesArgument

Defined in: layout/header-tick.ts:12


rangeStart​

readonly rangeStart: Instant

Defined in: layout/header-tick.ts:14

The first Instant of the axis. A label shows a year only where the year changes.


tick​

readonly tick: Tick

Defined in: layout/header-tick.ts:9


time​

readonly time: ZonedTime

Defined in: layout/header-tick.ts:11

The Dataset zone, bound once. time.startOf(tick.instant, 'day') gives the tick's own day.