Specifies common options for scale labels.
Scale labels represent textual values for major scale ticks. The label object exposes properties that allow you to specify custom text for scale labels and properties to change the text font.
Specifies a callback function that returns the text to be displayed in scale labels.
The text for the label to display.
When implementing a callback function for this property, use the scale value to be displayed in a label. This value can be accessed using the fields of the object that is passed as the function's parameter. Alternatively, you can use the this object within the function. This object has the same structure as the object passed as a parameter.
For general information on data formatting, refer to the Data Formatting topic.
Specifies font options for the text displayed in the scale labels of the gauge.
Formats a value before it is displayed in a scale label. Accepts only numeric formats.
Specifies the spacing between scale labels and ticks.
Decides how to arrange scale labels when there is not enough space to keep all of them.
When scale labels overlap each other, you can rearrange them by setting this option to one of the following values.
Hides certain scale labels leaving more space for the others.
Leaves scale labels overlapped.
When using the widget as an ASP.NET MVC Control, specify this option using the
ScaleLabelOverlappingBehavior enum. This enum accepts the following values:
Use the scale.label.format.precision option instead.
Specifies a precision for the formatted value displayed in the scale labels.
Specifies whether or not scale labels should be colored similarly to their corresponding ranges in the range container.
To paint all scale labels in a single color, you can use the color option of the font object. Alternatively, you can paint scale labels similarly to ranges in the range container. For this purpose, assign true to the useRangeColors option.
Specifies whether or not scale labels are visible on the gauge.