javascript - how to pass multi sereis data with dual y axis chart in highchart -
i having high charts dual y axis, have variable called sereis0 multiple values stored in array.
able pass single value in series, not able pass multiple series in data when using dual y axis. please me solve issue.
i have tried
var k = 0;var category0 = new array();var data0 = new array();var series0 = new array();var strarr = new array(); for(var i=0;i<str.length-1;i++){ var strarr = str[i].split('$'); category0[k] = strarr[0];data0[k] = strarr[1].split('|').join(','); series0[k] = {name: category0[k],data: json.parse("[" + data0[k] + "]") }; k++; } data: json.parse("[" + series0 + "]"),
but didn't work, not able post series0 array getting values database.
multiple data
arrays not supported highcharts, need create separate series: http://jsfiddle.net/f5zha/1/
Comments
Post a Comment