“dd2da6e34672100b5fd811fbf2cf97e29c08080f”上不存在“drivers/git@gitcode.net:openeuler/kernel.git”
提交 eec42e05 编写于 作者: J Jason Park

auto resize chart

上级 a7263f75
......@@ -35,7 +35,9 @@ class ChartTracer extends Tracer {
}]
},
animation: false,
legend: false
legend: false,
responsive: true,
maintainAspectRatio: false
}
};
this.chart = this.capsule.chart = new Chart(this.$wrapper, data);
......@@ -99,6 +101,12 @@ class ChartTracer extends Tracer {
super.processStep(step, options);
}
}
resize() {
super.resize();
this.chart.resize();
}
}
const initView = (tracer) => {
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册