score:2

Accepted answer

because the axis extends to match the tickinterval, whether or not you set a max value.

if you display your y axis labels, you'll see the cause more clearly.

to solve, set the endontick and maxpadding properties, and skip setting the axis max.

code:

yaxis: {
  endontick: false,
  maxpadding: 0
}

example:

output:

enter image description here


Related Query

More Query from same tag