Interface for a class CrosshairSettings
string
Specifies the pattern of dashes and gaps used to stroke the crosshair line.
boolean
If set to true, the crosshair line becomes visible.
string
The color of the horizontal crosshair line accepts values in hex and rgba as valid CSS color strings.
The line
property allows defining the appearance of the crosshair line, including its color and width.
Specifies the line type for the crosshair. The available modes are:
number
Specifies the opacity level for the crosshair, which controls its transparency.
boolean
If set to true
, the horizontal crosshair snaps to the nearest data point.
string
The color of the vertical crosshair line accepts values in hex and rgba as valid CSS color strings.