score:0

If you supply chart with enough labels then they will be used instead of numbers. Example: http://jsfiddle.net/z1yencny/2/

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

score:1

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.

score:1

Another solution is to simply play around with formatter: http://jsfiddle.net/z1yencny/4/

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

                if(!isNaN(str)){ 
                     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