我认为使用plotBands功能可能是您的案例的好解决方案。
演示:https://jsfiddle.net/BlackLabel/ta9L4zfx/
xAxis: {
plotBands: [{
from: -0.35,
to: 0.35,
color: 'gray'
}, {
from: 0.65,
to: 1.35,
color: 'gray'
}, {
from: 1.65,
to: 2.35,
color: 'gray'
}]
},
API:https://api.highcharts.com/highcharts/xAxis.plotBands.events