JavaScript/jQuery CircularGauge - scale.label
Specifies common properties 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.
customizeText
Specifies a callback function that returns the text to be displayed in scale labels.
The text for the label to display.
this
keyword.See Also
format
Formats a value before it is displayed in a scale label. Accepts only numeric formats.
hideFirstOrLast
Specifies which label to hide in case of overlapping.
Use the GaugeOverlappingBehavior
enum to specify this property when the UI component is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: HideFirstLabel
and HideLastLabel
.
overlappingBehavior
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 property to one of the following values.
- hide
Hides certain scale labels leaving more space for the others. - none
Leaves scale labels overlapped.
Use the ScaleLabelOverlappingBehavior
enum to specify this property when the UI component is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: Hide
and None
.
useRangeColors
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 property 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 property.
If you have technical questions, please create a support ticket in the DevExpress Support Center.