TimelineTrackScaleProps
Defined in: src/components/editor/Timeline/Timeline.types.ts:335
Properties
Section titled “Properties”color?
Section titled “color?”
optionalcolor?:string
Defined in: src/components/editor/Timeline/Timeline.types.ts:364
Override the axis / label color. Defaults to the muted text colour.
format?
Section titled “format?”
optionalformat?: (value) =>string
Defined in: src/components/editor/Timeline/Timeline.types.ts:345
Custom value formatter. Receives the raw value and returns the label.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”string
Default
Section titled “Default”(v) => Number(v.toFixed(2)).toString()
gridlines?
Section titled “gridlines?”
optionalgridlines?: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).
Default
Section titled “Default”falseminLaneHeight?
Section titled “minLaneHeight?”
optionalminLaneHeight?: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.
Default
Section titled “Default”48position?
Section titled “position?”
optionalposition?:"end"|"start"
Defined in: src/components/editor/Timeline/Timeline.types.ts:340
Which side of the lane the scale axis is drawn on.
Default
Section titled “Default”'start'showMidpoint?
Section titled “showMidpoint?”
optionalshowMidpoint?:boolean
Defined in: src/components/editor/Timeline/Timeline.types.ts:349
Draw a tick + label at the midpoint of the range too.
Default
Section titled “Default”false