JavaScript/jQuery BarGauge - label
Specifies the options of the labels that accompany gauge bars.
Each gauge bar is accompanied by a label that usually displays the value of the bar. Use the options of the label object to customize the label's text, specify its format, font, and distance between the label and the bar.
To hide labels, use the label.visible option or assign false straight to the label option.
connectorColor
Specifies a color for the label connector text.
This option supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
customizeText
Specifies a callback function that returns a text for labels.
The text for the label to display.
this
keyword.See Also
format
Formats a value before it is displayed in a label. Accepts only numeric formats.
indent
Specifies the distance between the upper bar and bar labels in pixels.
precision
Use the label.format.precision option instead.
Specifies a precision for the formatted value displayed by labels.
If you have technical questions, please create a support ticket in the DevExpress Support Center.