您可以使用绘图带来达到所需的结果:
yAxis: {
...,
plotBands: [{
color: 'red',
from: 20,
to: 50
}, ...]
}
现场演示: https : //jsfiddle.net/BlackLabel/g62h0apb/
API参考: https : //api.highcharts.com/highcharts/yAxis.plotBands
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句