no message
Former-commit-id: 34ddd538bb6e76b9c618e14e607ff82adc88869c Former-commit-id: 5eb35778e89a2fbf11ecfde9259fdb84443d126c Former-commit-id: 0745abccdb15a4083dff5bfc529aeafca72d6cd0
This commit is contained in:
@@ -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 的高度
|
||||
|
||||
Reference in New Issue
Block a user