Skip to content
Entangle UI v0.13.0

TimelineTrackScaleProps

Defined in: src/components/editor/Timeline/Timeline.types.ts:335

optional color?: string

Defined in: src/components/editor/Timeline/Timeline.types.ts:364

Override the axis / label color. Defaults to the muted text colour.


optional format?: (value) => string

Defined in: src/components/editor/Timeline/Timeline.types.ts:345

Custom value formatter. Receives the raw value and returns the label.

number

string

(v) => Number(v.toFixed(2)).toString()


optional gridlines?: boolean

Defined in: src/components/editor/Timeline/Timeline.types.ts:354

Draw thin horizontal gridlines across the whole lane width at each tick (min / max, plus midpoint when showMidpoint is on).

false

optional minLaneHeight?: number

Defined in: src/components/editor/Timeline/Timeline.types.ts:360

Lanes shorter than this (CSS px) skip the scale, so the labels never overlap into an unreadable blob on a short / collapsed graph lane.

48

optional position?: "end" | "start"

Defined in: src/components/editor/Timeline/Timeline.types.ts:340

Which side of the lane the scale axis is drawn on.

'start'

optional showMidpoint?: boolean

Defined in: src/components/editor/Timeline/Timeline.types.ts:349

Draw a tick + label at the midpoint of the range too.

false