TimelineTrackScaleProps
Defined in: src/components/editor/Timeline/Timeline.types.ts:335
Properties
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()?
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
value
number
Returns
string
Default
(v) => Number(v.toFixed(2)).toString()
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
falseminLaneHeight?
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
48position?
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
'start'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
false