API REFERENCE

crosshair

Bare crosshair or {} enables defaults. Object props and JSON attributes override options. Omit/remove the attribute to disable.

Definition

ItemValue
JavaScript propertycrosshair
HTML attributePass objects, arrays, and callbacks as JavaScript properties
TypeCartesianCrosshairInput
Defaultundefined

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.