javascript - Highcharts dynamically add/change yAxis plotLines -


i'm trying make possible users add max plotline chart , have change background color of chart if plot goes above line. can't seem method update plotlines. i've tried:

chart.yaxis[0].update({     plotlines: [{         id: 'limit-max',         color: 'blue',         dashstyle: 'longdashdot',         width: 1,         value: 45000,         zindex: 0     }] }); 

but error:

typeerror: undefined

...dbands,function(a){a.render()});n(this.series,function(a){a.isdirty=!0})},setcat...

highcharts.js (line 136)

you can destroy , create new plotlins, because update() function not available.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -