echarts set the data loading mask layer

        //Display loading
        chart.showLoading({
            text: "Chart data is trying to load...",
            x: "center",
            y: "center",
            textStyle: {
               color:"red",
               fontSize:14
            } ,
           effect:"spin"
        });

 

  //hide loading

  chart.hideLoading();

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325488843&siteId=291194637