JavaScript/jQuery Chart - crosshair.verticalLine
Crosshair lines can be configured using the following objects.
crosshair.horizontalLine
Configures the horizontal crosshair line only.crosshair.verticalLine
Configures the vertical crosshair line only.crosshair
Configures both the crosshair lines.
Options declared in the horizontalLine and verticalLine objects override the options declared in the crosshair object.
color
This option supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
- Paint server address
dashStyle
The following dash styles are available:
solid
The border is a solid, continuous line.longDash
The border is displayed using long dashes.dash
The border is displayed using dashes.dot
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'.
Use the DashStyle
enum to specify this option when the widget is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: Solid
, LongDash
, Dash
, and Dot
.
label
Crosshair labels can be configured using the following objects.
crosshair.horizontalLine.label
Configures the label of the horizontal crosshair line only.crosshair.verticalLine.label
Configures the label of the vertical crosshair line only.crosshair.label
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.
See Also
- crosshair.horizontalLine.label - configures the label that belongs to the horizontal crosshair line.
If you have technical questions, please create a support ticket in the DevExpress Support Center.