highcharts- 我想在保持图形不变的同时更改轴值
highcharts- I would like to change the axis value while leaving the graph intact
我想更改值的轴,同时保留图形中最大值、最小值的点和点。
我删除了值的轴。
我想在轴的每一端添加我想要的值。
如果你有任何了解,请告诉我。
我想解决这个问题。谢谢你! :)
要在轴的开头和结尾显示标签,请使用 axis.showFirstLabel/showLastLabel option (set them to true). You might need to set axis.startOnTick/endOnTick 为真。
如果要更改标签显示在轴内的时间 - 您可以设置 axis.tickPositions。
xAxis: {
endOnTick: true,
showFirstLabel: true,
startOnTick: true,
endOnTick: true,
// tickPositions: [1, 3, 5]
},
我想更改值的轴,同时保留图形中最大值、最小值的点和点。
我删除了值的轴。
我想在轴的每一端添加我想要的值。
如果你有任何了解,请告诉我。
我想解决这个问题。谢谢你! :)
要在轴的开头和结尾显示标签,请使用 axis.showFirstLabel/showLastLabel option (set them to true). You might need to set axis.startOnTick/endOnTick 为真。
如果要更改标签显示在轴内的时间 - 您可以设置 axis.tickPositions。
xAxis: {
endOnTick: true,
showFirstLabel: true,
startOnTick: true,
endOnTick: true,
// tickPositions: [1, 3, 5]
},