let noData = `<div style="min-height:100%;">`;
noData += `<p style="text-align: center;font-size: 15px;padding-top: 10px;font-weight: 600;">${this.title}</p>`;
noData += `<div style="text-align: center;">暫無數據</div>`;
noData += `</div>`;
echartsBox.innerHTML = noData;
echartsBox.removeAttribute("_echarts_instance_");
效果如下: