series: function() {
var serie = [];
var aa = pay_hit_arr;
for (var i = 0; i < aa.length; i++) {
var item = {
name: vin_list[i],
type: 'line',
itemStyle: {
normal: {
lineStyle: {
color: 'rgba(255,0,0,0.3)'
}
}
},
symbolSize: 0,
data: pay_hit_arr[i]
}
serie.push(item);
};
console.log(serie);
return serie;
} ()
var serie = [];
var aa = pay_hit_arr;
for (var i = 0; i < aa.length; i++) {
var item = {
name: vin_list[i],
type: 'line',
itemStyle: {
normal: {
lineStyle: {
color: 'rgba(255,0,0,0.3)'
}
}
},
symbolSize: 0,
data: pay_hit_arr[i]
}
serie.push(item);
};
console.log(serie);
return serie;
} ()