selectionStyle hatching

    Specifies the hatching options to be applied when a series is selected.

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

    direction

    Specifies how to apply hatching to highlight a selected series.

    Type: String
    Default Value: 'right'
    Accepted Values: 'none'|'right'|'left'

    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 hatching lines in pixels.

    Type: Number
    Default Value: 6

    width

    Specifies the width of hatching lines in pixels.

    Type: Number
    Default Value: 2