I have a problem with Highcharts where the Ceiling of one of my two y-axes is not being respected.
Y-axis "1" represents percentage values, so has a Floor of 0 and a Ceiling of 100.
Y-axis "2" represents monetary values, so has a Floor of 0 and a Ceiling of null.
For some reason, the labels for y-axis "1" go up to 150.
If I change the corresponding series data so that the value 0 is changed to 20, the problem seems to go away and the labels stop at 100 as they should.
var dataX = [0, 67, 43, 100, 100, 80]; var dataY = [950, 900, 807, 650, 600, 450]; $(function () { $('#container').highcharts({ series: [{ name: 'Series 1', data: dataX, yAxis: 0}, { name: 'Series 2', data: dataY, yAxis: 1}], yAxis: [{ floor: 0, ceiling: 100, title: { text: '1' }, }, { floor: 0, ceiling: null, title: { text: '2' }, opposite: true}]});});
Can anyone explain why this is happening?