LabelModel
23 Sep 20251 minute to read
Interface for a class Label
Properties
autoAngle boolean
Enables and disables the rotation of the labels along the axis in the circular gauge.
font FontModel
Sets and gets the options to customize the style of the text in axis labels in circular gauge.
format string
Sets and gets the format for the axis label. This property accepts any global string format like ‘C’, ‘n1’, ‘P’ etc.
Also accepts placeholder like ‘{value}°C’ in which value represent the axis label e.g. 20°C.
hiddenLabel HiddenLabel
Sets and gets the label of an axis, which gets hidden when an axis makes a complete circle.
offset number
Sets and gets the offset value from where the labels must be placed from the axis in circular gauge.
position Position
Sets and gets the position type to place the labels in the axis in the circular gauge.
shouldMaintainPadding boolean
Enables and disables the default padding value of axis labels in circular gauge.
useRangeColor boolean
Enables and disables the applying of the range color to the labels in the axis.