我希望让用户能够在图表上添加最大的"plotLine"并且当数据超过该线时,更改图表的背景颜色。但是,我无法找到一种更新"plotLines"的方法。我已经尝试了:
chart.yAxis[0].update({
plotLines: [{
id: 'limit-max',
color: 'blue',
dashStyle: 'LongDashDot',
width: 1,
value: 45000,
zIndex: 0
}]
});
但我收到了错误信息: ...dBands,function(a){a.render()});n(this.series,function(a){a.isDirty =!0})},setCat ...