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

background
optional

Background style of this item

Type:
FillStyle
borderColor
optional

Border color for this item

Type:
string
borderDash
optional

Border dash for this item. Provide an array of values that specify alternating lengths of lines and gaps.

Type:
number[]
borderWidth
optional

Thickness of the border for this item

Type:
number
cornerRadius
optional

Corner radius for this item.

Type:
number
data
optional

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

Type:
any
fontFamily
optional

Font family of this item

Type:
string
hoverBackground
optional

Background style of this item when it is hovered.

Type:
FillStyle
label
optional

Label of this item

Type:
string
marginLeft
optional

Whitespace between the left border and the label

Type:
number
start

Start time

Type:
number
stop
optional

Stop time

If unspecified the item is considered to be a milestone.

Type:
number
textColor
optional

Text color of this item

Type:
string
textSize
optional

Text size in points of this item

Type:
number