yAxis の最初の目盛りラベルを変更する必要があります。yAxis の最小値を変更しました。
yAxis: [{
title : {
text : 'Position'
},
gridLineWidth: 1,
startOnTick: false,
min: 1, //changed min value
reversed: true,
}]
ただし、前の yAxis には値が表示されません。yAxis の最初の値に署名する方法は?
これが私のチャートです。
私が書く場合:
yAxis: [{
title : {
text : 'Позиция'
},
startOnTick: false,
showFirstLabel: true,
min: 1,
reversed: true,
tickInterval: 1,
labels: {
formatter: function() {
if (this.value < 1)
return null;
else if (this.value == 1)
return this.value;
else if (this.value % 2 == 0)
return this.value;
}
}
}] その後、yAxis のスケーリングは私のデータにとって悪いものになります :(チャート