React RangeSelector - scale.majorTickInterval Deprecated

Use the tickInterval property instead.

Specifies an interval between major ticks.

Type:

Number

|

Object

|

String

Default Value: undefined
Accepted Values: 'day' | 'hour' | 'millisecond' | 'minute' | 'month' | 'quarter' | 'second' | 'week' | 'year'

Use this property to divide the scale by major ticks in a specified interval. If this property is not set, major ticks are arranged automatically.

In the case of a numeric scale, assign a numeric value to this property. If the scale is of the date-time type, assign one of the predefined string values. To set an interval to several days, hours, etc., assign an object with the corresponding field specified (days, hours or another field). Note that this object should contain only one of the fields described in this section.

NOTE
Setting a major tick interval is unavailable for a discrete scale.

days Deprecated

Use the tickInterval property instead.

Specifies the count in days between the scale's major ticks.

Type:

Number

This property is used for a date-time scale.

hours Deprecated

Use the tickInterval property instead.

Specifies the count in hours between the scale's major ticks.

Type:

Number

This property is used for a date-time scale.

milliseconds Deprecated

Use the tickInterval property instead.

Specifies the count in milliseconds between the scale's major ticks.

Type:

Number

This property is used for a date-time scale.

minutes Deprecated

Use the tickInterval property instead.

Specifies the count in minutes between the scale's major ticks.

Type:

Number

This property is used for a date-time scale.

months Deprecated

Use the tickInterval property instead.

Specifies the count in months between the scale's major ticks.

Type:

Number

This property is used for a date-time scale.

seconds Deprecated

Use the tickInterval property instead.

Specifies the count in seconds between the scale's major ticks.

Type:

Number

This property is used for a date-time scale.

years Deprecated

Use the tickInterval property instead.

Specifies the count in years between the scale's major ticks.

Type:

Number

This property is used for a date-time scale.