scale tickInterval

Specifies an interval between axis ticks.

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

Major ticks are those that are accompanied by labels that display corresponding scale values. Use this property to divide the scale by major ticks in a specified interval. If this property is not set, major ticks are automatically arranged so that labels do not overlap each other.

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.

NOTE: The specified tick interval can be changed internally if its value leads to label overlap. If you need to prohibit automatic tick arrangement in this situation, set the scale's useTicksAutoArrangement property to false.

days

Specifies the tick interval measured in days. Available for a date-time scale only.

Type: Number

hours

Specifies the tick interval measured in hours. Available for a date-time scale only.

Type: Number

milliseconds

Specifies the tick interval measured in milliseconds. Available for a date-time scale only.

Type: Number

minutes

Specifies the tick interval measured in minutes. Available for a date-time scale only.

Type: Number

months

Specifies the tick interval measured in months. Available for a date-time scale only.

Type: Number

quarters

Specifies the tick interval measured in quarters. Available for a date-time scale only.

Type: Number

seconds

Specifies the tick interval measured in seconds. Available for a date-time scale only.

Type: Number

weeks

Specifies the tick interval measured in weeks. Available for a date-time scale only.

Type: Number

years

Specifies the tick interval measured in years. Available for a date-time scale only.

Type: Number