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

JavaScript/jQuery PieChart - series.hoverStyle.hatching

Specifies the hatching properties to be applied when a point is hovered over.

Type:

Object

Within this object you can specify how to apply hatching using the direction property, the width and opacity of lines with the width and opacity properties, and the space between the lines using the step property.

direction

Specifies how to apply hatching to highlight the hovered point.

Default Value: 'right'

The following values are available.

  • none
    Do not apply hatching.
  • right
    Apply an upward diagonal hatching style from left to right.
  • left
    Apply a downward diagonal hatching style from left to right.

opacity

Specifies the opacity of hatching lines.

Type:

Number

Default Value: 0.75

step

Specifies the distance between two hatching lines in pixels.

Type:

Number

Default Value: 10

width

Specifies the width of hatching lines in pixels.

Type:

Number

Default Value: 4