Skip to main content

Interface: GeovisWorkspaceSidebarTimelineFilter

Defined in: context/GeovisWorkspaceContext.ts:238

A timeline filter: a numeric range (years, months, days, or any step) with an optional mini histogram and prev / play-pause / next controls.

When menuId is set, the current value is written to the shared selection (selection[menuId], as a string) so the app can react to it — this is how the time-lapse drives the map. Without it the value stays local to the preview (visual-only).

Properties

defaultValue?

optional defaultValue?: number

Defined in: context/GeovisWorkspaceContext.ts:252

Value selected on first render. Defaults to min.


histogram?

optional histogram?: object[]

Defined in: context/GeovisWorkspaceContext.ts:254

Per-key counts for the mini histogram; omit to hide the bars.

count

count: number

key

key: number


kind

kind: "timeline"

Defined in: context/GeovisWorkspaceContext.ts:239


max

max: number

Defined in: context/GeovisWorkspaceContext.ts:248

Highest selectable value.


optional menuId?: string

Defined in: context/GeovisWorkspaceContext.ts:244

Keys the shared selection this timeline drives (selection[menuId], as a stringified number). Omit to keep the value local (visual-only).


min

min: number

Defined in: context/GeovisWorkspaceContext.ts:246

Lowest selectable value.


step?

optional step?: number

Defined in: context/GeovisWorkspaceContext.ts:250

Step between values. Defaults to 1.


unitLabel?

optional unitLabel?: string

Defined in: context/GeovisWorkspaceContext.ts:256

Unit noun shown next to the value, e.g. "registros".