interface State

State-specific properties.

Style attributes are optional. Values that are defined here are prioritized over band attributes.

Properties
background, data, fontFamily, hoverBackground, label, textColor, textSize, time

Properties

background
optional

Background style of this state

Type:
FillStyle
data
optional

Arbitrary data associated with this state. For example an identifier of a backend system.

Type:
any
fontFamily
optional

Font family of this state

Type:
string
hoverBackground
optional

Background style of this state when it is hovered.

Type:
FillStyle
label

State value, or null if the previous state is no longer valid.

Type:
null | string
textColor
optional

Text color of this state

Type:
string
textSize
optional

Text size in points of this state

Type:
number
time

Start time

Type:
number