If you supply chart with enough labels then they will be used instead of numbers. Example:

categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug']


The axis max property does not work the way you are thinking. It is not a cap value that will stop the values from going higher, it is the constant max value of the axis.

If you provide a max value, and you don't provide enough categories to reach the max, the chart fills in with the only thing it knows to do.

As mentioned in comments, you have a few options.

The most common and useful is to simply not specify a max; let your categories and data determine the max automatically.


Another solution is to simply play around with formatter:

        labels: {
            formatter: function(){
                var str = this.value;

                     str = '';  

                return str;

Of course, above solution won't work with numbers in categories. However, simply change condition to compare value with value under the category index.

Related Query

More Query from same tag