Configures the vertical crosshair line individually.
Crosshair lines can be configured using the following objects.
Configures the horizontal crosshair line only.
Configures the vertical crosshair line only.
Configures both the crosshair lines.
Options declared in the horizontalLine and verticalLine objects override the options declared in the crosshair object.
Specifies the color of the vertical crosshair line.
This option supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
Specifies the dash style of the vertical crosshair line.
The following dash styles are available:
The border is a solid, continuous line.
The border is displayed using long dashes.
The border is displayed using dashes.
The border is displayed using dots.
Any combination of 'longDash', 'dash' and 'dot'
The border is displayed by repeating the specified combination. For instance, 'dashdotdash'.
DashStyle enum to specify this option when the widget is used as an ASP.NET MVC Control. This enum accepts the following values:
Configures the label that belongs to the vertical crosshair line.
Crosshair labels can be configured using the following objects.
Configures the label of the horizontal crosshair line only.
Configures the label of the vertical crosshair line only.
Configures both the labels.
These objects have identical structure, but the label settings declared in the horizontalLine or verticalLine object override the label settings declared directly in the crosshair object.
- crosshair.horizontalLine.label - configures the label that belongs to the horizontal crosshair line.
Specifies how transparent the vertical crosshair line should be.
This option accepts a value from 0 to 1, where 0 makes the vertical crosshair line completely transparent, and 1 makes it opaque.
Specifies whether to show the vertical crosshair line or not.
- crosshair.enabled - enables the crosshair feature.
Specifies the width of the vertical crosshair line in pixels.