This commit is contained in:
yumoqing 2024-11-18 12:48:46 +08:00
parent 3f39f5532a
commit 02ae44c99c

View File

@ -83,6 +83,7 @@ bricks.EchartsExt = class extends bricks.VBox {
this.valueFields = this.get_series(data); this.valueFields = this.get_series(data);
data = this.pivotify(data); data = this.pivotify(data);
} }
this.chart = echarts.init(this.holder.dom_element);
var opts = this.setup_options(data); var opts = this.setup_options(data);
opts.grid = { opts.grid = {
left: '3%', left: '3%',