tickInterval

Specifies an interval between axis ticks/grid lines.

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

Use this option to divide the scale by ticks in a specified interval one from another. If this option is not set, ticks are automatically arranged so that their labels do not overlap each other.

In case of a numeric axis, assign a numeric value to this option.

If the axis is of the date-time type, assign one of the predefined string values or an object to this option. The object's fields specify the number of days, hours, etc.

When you use a logarithmic axis, ticks are generated on a base of powers. For example, assume that the logarithm base is 10. Then, if the tick interval is 1, ticks are generated at 0.01, 0.1, 1, 10, 100, 1000, 10000, etc. If the tick interval is 2, ticks are generated at 0.1, 10, 1000, etc.

To set the tickInterval option for several axes at once, use the commonAxisSettings configuration object. To set this option for an individual axis, use the argumentAxis or valueAxis configuration object.

When using the widget as an ASP.NET MVC Control, specify this option using the VizTimeInterval enum. This enum accepts the same values, but they start with an upper-case letter, for example, 'day' becomes Day.

Show Example:
jQuery

In the following example, the argument axis tick interval is set to 1 hour.


                                    

                                    

days

Specifies the time interval measured in days. Available only for an axis/scale displaying date-time values.

Type: Number

hours

Specifies the time interval measured in hours. Available only for an axis/scale displaying date-time values.

Type: Number

milliseconds

Specifies the time interval measured in milliseconds. Available only for an axis/scale displaying date-time values.

Type: Number

minutes

Specifies the time interval measured in minutes. Available only for an axis/scale displaying date-time values.

Type: Number

months

Specifies the time interval measured in months. Available only for an axis/scale displaying date-time values.

Type: Number

quarters

Specifies the time interval measured in quarters. Available only for an axis/scale displaying date-time values.

Type: Number

seconds

Specifies the time interval measured in seconds. Available only for an axis/scale displaying date-time values.

Type: Number

weeks

Specifies the time interval measured in weeks. Available only for an axis/scale displaying date-time values.

Type: Number

years

Specifies the time interval measured in years. Available only for an axis/scale displaying date-time values.

Type: Number