lundi 22 octobre 2018

Ability to show labels of checked serie after rendering highcharts

I managed to have highcharts where through checkbox I can display value of series, if checkbox is checked or not, but now I am trying to for example right after rendering to select ( check ) first serie while rest of them are unchecked by default right after

this.chart =  new Highcharts.Chart(chartConf);
this.chart.series[0].selected = true;

But even if value is true checkbox remains unchecked, is there any way to by default have only first serie checked to true while rest of them remain unchecked ? http://jsfiddle.net/LDMAQ/1096/




Aucun commentaire:

Enregistrer un commentaire