minorTickInterval

Specifies an interval between minor ticks.

Type:

Number

|

Object

|

String

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

Major ticks are those that are accompanied by labels, which display the corresponding scale values. Minor ticks are the intermediate ticks between major ticks. Minor ticks are required when major ticks are far from each other due to label overlap. To set a custom minor tick interval, use the minorTickInterval property. If this property is not set, minor 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
Minor ticks are unavailable for a discrete scale.

When the snapToTicks property is set to true, sliders are docked to both major and minor ticks.

To prohibit the display of minor ticks, set the scale's showMinorTicks property to false.

To set a custom tick interval between major ticks, use the scale's tickInterval property.

Show Example:
jQuery

In this example, the minorTickInterval option is set to 'day'.


                                    

                                    

days

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

Type:

Number

Show Example:
jQuery

In this example, the minorTickInterval option is set to 1 day.


                                    

                                    

hours

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

Type:

Number

Show Example:
jQuery

In this example, the minorTickInterval option is set to 4 hours.


                                    

                                    

milliseconds

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

Type:

Number

Show Example:
jQuery

In this example, the minorTickInterval option is set to 50 milliseconds.


                                    

                                    

minutes

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

Type:

Number

Show Example:
jQuery

In this example, the minorTickInterval option is set to 2 minutes.


                                    

                                    

months

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

Type:

Number

Show Example:
jQuery

In this example, the minorTickInterval option is set to 1 month.


                                    

                                    

quarters

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

Type:

Number

seconds

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

Type:

Number

Show Example:
jQuery

In this example, the minorTickInterval option is set to 10 seconds.


                                    

                                    

weeks

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

Type:

Number

years

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

Type:

Number

Show Example:
jQuery

In this example, the minorTickInterval option is set to 1 year.