score:20

Accepted answer

you need to set the tickinterval. for some funky reason it is trying to divide the 15 points you have evenly into ticks (0 to 14 is 15 points) and it doesn't want to end on an odd value of ticks so it rounds up. this is all supposition. anyway, try this:

    yaxis: {
        min: 0, 
        max: 14,
        tickinterval: 2
    },

score:7

this problem bugged me for days, and i kept hitting this page with bing. anwer here has been helpful, but the issue in my side was fixed following another sample, since i had static tick to set.

here is something similar to my final result (though it can be set dynamic);

    yaxis: {
        tickpositioner: function () {
            var positions = [0,1,2,3,4,5,6,7,8,9,10];
            return positions;
        }
    },

example: http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/xaxis/tickpositions-tickpositioner/

hope this helps.


Related Query

More Query from same tag