AnnotationModel

23 Sep 20251 minute to read

Interface for a class Annotation

Properties

axisIndex number

Sets and gets the axis index which places the annotation in the specified axis in the linear gauge.

axisValue number

Sets and gets the value of axis which places the annotation near the specified axis value.

content string|Function

Sets and gets the content for the annotation.

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.

verticalAlignment Placement

Sets and gets the vertical alignment of annotation.

x number

Sets and gets the x position for the annotation in linear gauge.

y number

Sets and gets the y position for the annotation in linear gauge.

zIndex string

Sets and gets the z-index of the annotation.