echarts 设置数据加载遮罩层
//显示加载数据的loading
chart.showLoading({
text: "图表数据正在努力加载...",
x: "center",
y: "center",
textStyle: {
color:"red",
fontSize:14
},
effect:"spin"
});
//隐藏loading
chart.hideLoading();