interface
Item
Item-specific properties.
Style attributes are optional. Values that are defined here are prioritized over band attributes.
- Properties
- background, borderColor, borderDash, borderWidth, cornerRadius, data, fontFamily, hoverBackground, label, marginLeft, start, stop, textColor, textSize
Properties
- backgroundoptional
Background style of this item
- Type:
-
FillStyle
- borderColoroptional
Border color for this item
- Type:
-
string
- borderDashoptional
Border dash for this item. Provide an array of values that specify alternating lengths of lines and gaps.
- Type:
-
number[]
- borderWidthoptional
Thickness of the border for this item
- Type:
-
number
- cornerRadiusoptional
Corner radius for this item.
- Type:
-
number
- dataoptional
Arbitrary data associated with this item. For example an identifier of a backend system.
- Type:
-
any
- fontFamilyoptional
Font family of this item
- Type:
-
string
- hoverBackgroundoptional
Background style of this item when it is hovered.
- Type:
-
FillStyle
- labeloptional
Label of this item
- Type:
-
string
- marginLeftoptional
Whitespace between the left border and the label
- Type:
-
number
- start
Start time
- Type:
-
number
- stopoptional
Stop time
If unspecified the item is considered to be a milestone.
- Type:
-
number
- textColoroptional
Text color of this item
- Type:
-
string
- textSizeoptional
Text size in points of this item
- Type:
-
number