no message

Former-commit-id: 34ddd538bb6e76b9c618e14e607ff82adc88869c
Former-commit-id: 5eb35778e89a2fbf11ecfde9259fdb84443d126c
Former-commit-id: 0745abccdb15a4083dff5bfc529aeafca72d6cd0
This commit is contained in:
李杨
2018-02-17 11:39:08 +08:00
parent 3b84e20944
commit 4e2b3d9e6d

View File

@@ -65,7 +65,9 @@ export default {
// 创建图表对象
creatChart () {
this.chart = new this.G2.Chart({
// ref = chart 的元素为图表容器
container: this.$refs.chart,
// 自动宽度
forceFit: this.forceFit,
// 高度
// 设置 autoHeight = true 后取 $refs.chart 的高度