no message
Former-commit-id: 3d89a48b4812432b1d8fb172550496ec368fe7b4 Former-commit-id: 2dfe3f42701c9bcba739c617db883cef7b515bf1 Former-commit-id: cf80d852d653158aa395be003359b46830741bb4
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import G2 from '@antv/g2'
|
||||
import * as dataSet from '@antv/data-set'
|
||||
import * as DataSet from '@antv/data-set'
|
||||
// 关闭 G2 的体验改进计划打点请求
|
||||
G2.track(false)
|
||||
|
||||
@@ -11,12 +11,6 @@ export default {
|
||||
required: false,
|
||||
default: () => []
|
||||
},
|
||||
// 在组件 mounted 后立即初始化图表
|
||||
autoInit: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: true
|
||||
},
|
||||
// [图表设置项] 高度
|
||||
height: {
|
||||
type: Number,
|
||||
@@ -41,9 +35,11 @@ export default {
|
||||
// 在页面中不需要再引入 直接使用 this.G2
|
||||
G2,
|
||||
// 数据处理模块
|
||||
dataSet,
|
||||
DataSet,
|
||||
// 图表实例
|
||||
chart: null,
|
||||
// 在组件 mounted 后立即初始化图表
|
||||
autoInit: true,
|
||||
// [图表设置项] padding
|
||||
padding: [40, 40, 40, 40]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user