Skip to main content

Interface: TimeScaleModelOptions

Defined in: layout/viewport/time-scale-model.ts:44

What a caller states about how time should be displayed, to construct a TimeScaleModel (plans/02 §5; renamed from TimeScaleIntent, issue #84 — a caller states options, not "intent"). Everything else — the dataset's zone (D6), the span — is derived at bind time.

Properties​

fit?​

optional fit?: TimeScaleFit

Defined in: layout/viewport/time-scale-model.ts:50

Default 'pane'.


preset?​

optional preset?: PresetRef

Defined in: layout/viewport/time-scale-model.ts:46

Governs header ticks and, with no viewport to fit, the resolved density. Defaults to dayPreset.


range?​

optional range?: TimeSpan | "fitDataset"

Defined in: layout/viewport/time-scale-model.ts:48

'fitDataset' (the default) spans the entries of every bound dataset; a TimeSpan pins the axis.