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
- backgroundoptional
Background style of this state
- Type:
-
FillStyle
- dataoptional
Arbitrary data associated with this state. For example an identifier of a backend system.
- Type:
-
any
- fontFamilyoptional
Font family of this state
- Type:
-
string
- hoverBackgroundoptional
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
- textColoroptional
Text color of this state
- Type:
-
string
- textSizeoptional
Text size in points of this state
- Type:
-
number
- time
Start time
- Type:
-
number