chore(lib): update echarts 4.8.0 -> 5.3.2

This commit is contained in:
Dillon
2022-05-09 02:32:16 +08:00
parent d813292d3f
commit c5bed70e04
9 changed files with 889 additions and 249 deletions

View File

@@ -500,7 +500,7 @@ class Theme {
}
this._echartsArr = [];
this.util.forEach(document.getElementsByClassName('echarts'), $echarts => {
const chart = echarts.init($echarts, this.isDark ? 'dark' : 'macarons', {renderer: 'svg'});
const chart = echarts.init($echarts, this.isDark ? 'chalk' : 'macarons', {renderer: 'svg'});
chart.setOption(JSON.parse(this.data[$echarts.id]));
this._echartsArr.push(chart);
});