API REFERENCE
crosshair
Bare crosshair or {} enables defaults. Object props and JSON attributes override options. Omit/remove the attribute to disable.
Definition
| Item | Value |
|---|---|
| JavaScript property | crosshair |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | CartesianCrosshairInput |
| Default | undefined |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- CartesianCrosshairInput
Type definition