React PieChart - series.selectionStyle.hatching

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

Selector: Hatching
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 selected point.

Type:

String

Default Value: 'right'
Accepted Values: 'left' | 'none' | '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.5

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