Specifies the appearance of the text displayed in an indicator of the rangeBar type.

Type: Object

Note that the indent option of the text configuration object must not be set to 0 if you need to show the text.


Specifies a callback function that returns the text to be displayed in an indicator.

Type: function
Function parameters:
indicatedValue: Object

Defines an indicated value.

Object structure:
value: Number

Specifies the scale value to be displayed in the indicator.

valueText: String

Specifies the scale value with applied formatting if the format option is set.

Return Value: String

The text to be displayed by an indicator.

Default Value: undefined
Cannot be used in themes.

When implementing a callback function for this option, use the value displayed in the indicator. 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.


Specifies font options for the text displayed by the indicator.

Type: Object


Specifies a format for the text displayed in an indicator.

Type: Format
Default Value: undefined
See Also
  • format - provides a comprehensive overview of formatting capabilities. Note that only numeric subset of the predefined formats can be used.
  • Data Formatting - shows how to apply formatting to various widget elements.



Use the text | format | precision option instead.

Specifies a precision for the formatted value displayed by an indicator.

Type: Number
Default Value: undefined