All docs
V18.2
24.2
The page you are viewing does not exist in version 24.2.
24.1
The page you are viewing does not exist in version 24.1.
23.2
The page you are viewing does not exist in version 23.2.
23.1
The page you are viewing does not exist in version 23.1.
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
19.1
18.2
18.1
17.2
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery CircularGauge - subvalueIndicator.text

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

Type:

Object

This member is exposed by the following entities:

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

customizeText

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

Type:

Function

Function parameters:
indicatedValue:

Object

Information on the indicated value.

Object structure:
Name Type Description
value

Number

The raw value.

valueText

String

The formatted value converted to a string.

Return Value:

String

The text for the indicator to display.

Default Value: undefined
This member is exposed by the following entities:
Cannot be used in themes.

NOTE
As an alternative to the function’s parameter you can use the this keyword.

font

Specifies font options for the text displayed by the indicator.

Type:

Object

This member is exposed by the following entities:

format

Formats a value before it is displayed in an indicator. Accepts only numeric formats.

Type:

Format

Default Value: undefined
This member is exposed by the following entities:

See the format section for details on accepted values.

See Also

indent

Specifies the range bar's label indent in pixels.

Type:

Number

Default Value: 0
This member is exposed by the following entities:

If this property is set to 0, the range bar text is not shown.