// echart13
var piedom13 = document.getElementById("echart13");
var piedChart13 = echarts.init(piedom13);
var data13 = [220, 182, 191, 234, 290, 330, 310, 201, 154, 190, 330, 410]
pieoption13 = {
...
series: [{
areaStyle: {
normal: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
offset: 0,
color: 'rgba(249, 54, 156, .6)'
},
{
offset: 1,
color: 'rgba(255, 255, 255, 0.2)'
}
], false),
}
},
data: data13
},
]
}
if (piedChart13 && typeof piedChart13 === "object") {
piedChart13.clear();
piedChart13.resize();
piedChart13.setOption(pieoption13, true);
};