All docs
V19.1
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
Box
Map
Vue
A newer version of this page is available. Switch to the current version.

jQuery RangeSelector - scale.marker.label

Defines the options that can be set for the text that is displayed by the scale markers.

Type:

Object

customizeText

Specifies a callback function that returns the text to be displayed in scale markers.

Type:

Function

Function parameters:
markerValue:

Object

Information on the marker value.

Object structure:
Name Type Description
value

Date

|

Number

The raw value.

valueText

String

The formatted value converted to a string.

Return Value:

String

The text for the label to display.

Cannot be used in themes.

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

format

Formats a value before it is displayed in a scale marker.

Type:

Format

Default Value: undefined

See the format section for details on accepted values.

See Also