valueAxis tickInterval

    Specifies the interval between major ticks.

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

    Major ticks divide an axis into segments thus improving the viewer's perception of visualized data. Major ticks are generated automatically, unless the tickInterval option is set.

    If the axis displays numbers, assign a number to this option. If the axis displays date-time values, assign one of the accepted string values or an object to this option. The object should contain only one of all fields described in this section, for example:

    JavaScript
    var chartOptions = {
        // ...
        valueAxis: {
            // ...
            tickInterval: { days: 5 }
        }
    };

    When you use an axis of the "logarithmic" type, ticks are generated on a base of powers. For example, assuming that the logarithm base is 10 and the tick interval is 1, ticks are generated at 10-2, 10-1, 100, 101, 102, 103, etc. If the tick interval becomes 2, ticks are generated at 10-1, 101, 103, etc.

    NOTE: A custom tick interval can be ignored if it leads axis labels to being overlapped by each other. To force the widget to use it anyway, assign "ignore" to the valueAxis | label | overlappingBehavior option.

    See Also
    • valueAxis | tick - configures the appearance of major ticks.
    • valueAxis | minorTickInterval - specifies the interval between minor ticks.

    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