content
Gets or sets the text of the annotation.
- Type
- string
Represents a base class of shape annotations for the AnnotationLayer.
constructor(options?: any): Shape
Initializes a new instance of the Shape annotation class.
JavaScript object containing initialization data for the object.
Gets or sets the attachment of the annotation.
Gets or sets the offset of the annotation from the point.
Gets or sets the point of the annotation. The coordinates of points depends on the attachment property. See AnnotationAttachment for further description.
Gets or sets the data point index of the annotation. Applies only when the attachment property is set to DataIndex.
Gets or sets the position of the annotation. The position is relative to the point.
Gets or sets the data series index of the annotation. Applies only when the attachment property is set to DataIndex.
render(engine: IRenderEngine): void
Render this annotation.
The engine to render annotation.