JavaScript/jQuery Chart - annotations.image

Configures the image to be displayed in the annotation. Applies only if the type is "image".

Type:

String

|

Object

To display an image, assign its URL to the url property and use the height and width properties to resize the image. Otherwise, assign the URL directly to the image property.

View Demo

height

Specifies the image's height in pixels.

Type:

Number

Default Value: 30

url

Specifies the image's URL.

Type:

String

Default Value: undefined

width

Specifies the image's width in pixels.

Type:

Number

Default Value: 30