Box
Map
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Chart - annotations.shadow

Configures the annotation's shadows.

Type:

Object

blur

Specifies the blur distance of the shadows. A larger value increases the blur distance.

Type:

Number

Default Value: 4

color

Colors the annotation's shadows.

Type:

String

Default Value: '#000000'

This property supports the following colors:

offsetX

Moves the shadows horizontally.

Type:

Number

Default Value: 0

The number assigned to this property specifies the shift in pixels. A negative number shifts the shadows to the left and a positive number shifts them to the right.

offsetY

Moves the shadows vertically.

Type:

Number

Default Value: 1

The number assigned to this property specifies the shift in pixels. A negative number shifts the shadows up and a positive number shifts them down.

opacity

Specifies the opacity of the shadows.

Type:

Number

Default Value: 0.15

This property accepts a value from 0 to 1: 0 makes the shadows transparent; 1 makes them opaque.