ValueAxis.crosshair
configurationThe crosshair configuration options.
The crosshair is displayed when the valueAxis.crosshair.visible option is set to
true.
valueAxis.crosshair
ObjectThe color of the crosshair. Accepts a valid CSS color string, including hex and rgb.
The 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"
The opacity of the crosshair. By default the crosshair is opaque.
Default: 1
The crosshair tooltip options.
The crosshair tooltip is displayed when the valueAxis.crosshair.tooltip.visible option is set to
true.
valueAxis.crosshair.visible
BooleanIf set to true the chart will display the value axis crosshair. By default the value axis crosshair is not visible.
Default: false
The width of the crosshair in pixels.
Default: 1