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

JavaScript/jQuery RangeSelector - scale.marker

Specifies options for the date-time scale's markers.

Type:

Object

When a scale is of the date-time type, scale markers can be displayed. If a major tick interval is set in days, a marker will be displayed between the last day of the month and the first day of the new month. The marker will indicate the new month. The same logic for setting markers is used when a tick interval is set using other date-time units.

A marker consists of a separator and label that belongs to the separator. To set the visibility of the markers, and change their default location and appearance, use the properties of the marker configuration object.

label

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

Type:

Object

separatorHeight

Specifies the height of the marker's separator.

Type:

Number

Default Value: 33

RangeSelectorScaleMarkerSeparatorHeight ChartJS

textLeftIndent

Specifies the space between the marker label and the marker separator.

Type:

Number

Default Value: 7

RangeSelectorScaleMarkerTextLeftIndent ChartJS

textTopIndent

Specifies the space between the marker's label and the top edge of the marker's separator.

Type:

Number

Default Value: 11

RangeSelectorScaleMarkerTextTopIndent ChartJS

topIndent

Specified the indent between the marker and the scale labels.

Type:

Number

Default Value: 10

RangeSelectorScaleMarkerTopIndent ChartJS

visible

Indicates whether scale markers are visible.

Type:

Boolean

Default Value: true