echarts动态series

/动态series/

   var series=[];
        for(var i in newData) {
            series.push({
                name: newData[i].name,
                type: 'line',
                xAxisIndex: i,
                yAxisIndex: i,
                symbolSize: 8,
                hoverAnimation: false,
                data: newData[i].bb
            });
        }

你可能感兴趣的:(js)