Highcharts的spline设置安全阀值
解决方法:
在yAxis中添加:
plotLines: [{
value: 80,
color: '#f00',
width: 1,
label: {
text: '安全阀值:80',
align: 'center',
style: {
color: '#555'
}
}
}],
plotBands: [{
from: 80,
to: 100,
color: 'rgba(68, 170, 213, 0.2)'
}]
本文链接:http://www.yayihouse.com/yayishuwu/chapter/1521