Vue RangeSelector - scale.marker.label

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

Selector: DxLabel
Type:

Object

customizeText

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

Selector: customize-text
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.

Selector: DxFormat
Type:

Format

Default Value: undefined

See the format section for information on accepted values.

When this property value is undefined, the date-time axes display larger date range boundaries in labels. For example, if an axis displays months, it also displays a year near each instance of January. If an axis displays days, it also displays a month name near each first visible day mark.

See Also