5.20231.904
wijmo.chart.annotation Class Image Wijmo API Class

Image Class

Represents an image annotation for AnnotationLayer.

Heirarchy

Constructors

constructor

  • new Image(options?: any): Image
  • Initializes a new instance of the Image annotation class.

    Parameters

    • Optional options: any

      JavaScript object containing initialization data for the object.

    Returns Image

Properties

attachment

Gets or sets the attachment of the annotation.

content

content: string

Gets or sets the text of the annotation.

height

height: number

Gets or sets the height of the Image annotation.

href

href: string

Gets or sets the href of the Image annotation.

isVisible

isVisible: boolean

Gets or sets the visibility of the annotation.

name

name: string

Gets or sets the name of the annotation.

offset

offset: Point

Gets or sets the offset of the annotation from the point.

point

point: DataPoint

Gets or sets the point of the annotation. The coordinates of points depends on the attachment property. See AnnotationAttachment for further description.

pointIndex

pointIndex: number

Gets or sets the data point index of the annotation. Applies only when the attachment property is set to DataIndex.

position

Gets or sets the position of the annotation. The position is relative to the point.

seriesIndex

seriesIndex: number

Gets or sets the data series index of the annotation. Applies only when the attachment property is set to DataIndex.

style

style: any

Gets or sets the style of the annotation.

tooltip

tooltip: string

Gets or sets the tooltip of the annotation.

width

width: number

Gets or sets the width of the Image annotation.

Methods

destroy

  • destroy(): void

render