Annotation
23 Sep 20251 minute to read
Sets and gets the options for customizing the annotation in linear gauge.
Properties
axisIndex number
Sets and gets the axis index which places the annotation in the specified axis in the linear gauge.
Defaults to null
axisValue number
Sets and gets the value of axis which places the annotation near the specified axis value.
Defaults to null
content string|Function
Sets and gets the content for the annotation.
Defaults to ’’
font FontModel
Sets and gets the options to customize the font of the annotation in linear gauge.
horizontalAlignment Placement
Sets and gets the horizontal alignment of annotation.
Defaults to None
verticalAlignment Placement
Sets and gets the vertical alignment of annotation.
Defaults to None
x number
Sets and gets the x position for the annotation in linear gauge.
Defaults to 0
y number
Sets and gets the y position for the annotation in linear gauge.
Defaults to 0
zIndex string
Sets and gets the z-index of the annotation.
Defaults to ‘-1’