Angular Chart - commonAnnotationSettings.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 option. Use the height and width options to resize the image if needed. Otherwise, you can assign the URL directly to the image option.

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