YAxis.crosshair
configurationThe crosshair configuration options.
The crosshair is displayed when the yAxis.crosshair.visible option is set to
true.
yAxis.crosshair
ObjectyAxis.crosshair.color
StringThe color of the crosshair. Accepts a valid CSS color string, including hex and rgb.
yAxis.crosshair.dashType
StringThe dash type of the crosshair.
The following dash types are supported:
- "dash" - a line consisting of dashes
- "dashDot" - a line consisting of a repeating pattern of dash-dot
- "dot" - a line consisting of dots
- "longDash" - a line consisting of a repeating pattern of long-dash
- "longDashDot" - a line consisting of a repeating pattern of long-dash-dot
- "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot
- "solid" - a solid line
Default: "solid"
yAxis.crosshair.opacity
NumberThe opacity of the crosshair. By default the crosshair is opaque.
Default: 1
yAxis.crosshair.tooltip
ObjectThe crosshair tooltip options.
The crosshair tooltip is displayed when the yAxis.crosshair.tooltip.visible option is set to
true.
yAxis.crosshair.visible
BooleanIf set to true the chart will display the scatter chart y axis crosshair. By default the scatter chart y axis crosshair is not visible.
Default: false
yAxis.crosshair.width
NumberThe width of the crosshair in pixels.
Default: 1