Skip to main content

Interface: HeaderFormatContext

Defined in: time/scale.ts:34

What a header format callback knows. rangeStart is the first Instant of the axis, so a label can show a year only where the year changes ("Jan 2027") and stay short elsewhere.

Extends​

Properties​

locale​

readonly locale: LocalesArgument

Defined in: model/field.ts:389

Inherited from​

FormatContext.locale


rangeStart​

readonly rangeStart: Instant

Defined in: time/scale.ts:35


timeZone​

readonly timeZone: string

Defined in: model/field.ts:303

Inherited from​

FormatContext.timeZone