highstock - Highcharts addAxis dynamically -


i want add chart axis , chart series dynamically this.

$.each(seriesoptions, function(){         chart.addaxis({             id: this.name,             title: {                 text: this.name             },             linewidth: 2,             opposite: true         });          chart.addseries({             name: this.name,             data: this.data,             yaxis: this.name         });     }); 

my solution works quite well: jsfiddle
after loading chart, can see yaxis no series. if im clicking on specific range (rangeselector) - series becomes visible.
think there issue rangeselector , yaxis? because when im removing rangeselector "nodenotfound" error.

any suggestions?
cheers


Comments