All Components

YAxisCrosshair

The configuration options of the Y-axis crosshair.

color? string

The color of the crosshair. Accepts a valid CSS color string, including hex and rgb.

opacity? number

The opacity of the crosshair. By default, the crosshair is opaque.

tooltip? YAxisCrosshairTooltip

The options of the crosshair tooltip.
The crosshair tooltip is displayed when the yAxis.crosshair.tooltip.visible option is set to true.

visible? boolean

If set to true, the Chart displays the Y-axis crosshair of the Scatter Chart.
By default, the Y-axis crosshair of the Scatter Chart is not visible.

width? number

The width of the crosshair in pixels.

In this article