JavaScript/jQuery Chart - crosshair.horizontalLine.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.verticalLine.label - configures the label that belongs to the vertical crosshair line.
backgroundColor
This property supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
- Paint server address
format
See the format section for information on accepted values.
When this property value is undefined
, the date-time axes display larger date range boundaries in labels. For example, if an axis displays months, it also displays a year near each instance of January. If an axis displays days, it also displays a month name near each first visible day mark.
See Also
visible
Makes the label of the horizontal crosshair line visible. Applies only if the crosshair feature is enabled and the horizontal line is visible.