var data1index = 1;
setInterval(function(){
if(data1index==1){
console.log('1')
pieoption1.series[0].data = [50, 60, 60, 90, 80,20 ];
data1index = 0;
}else{
data1index = 1;
}
piedChart1.clear();
piedChart1.resize();
piedChart1.setOption(pieoption1, true);
}, 5000);