no message

Former-commit-id: 294bbe47d49fb607c7c754a8f81dd5820adf3a1a
Former-commit-id: a2437463ba40af0b70ec4bcd92b10507de5606fb
Former-commit-id: c9cb31656e05b9b2cfcb70123ccac8150f7631b8
This commit is contained in:
李杨
2018-02-18 11:36:34 +08:00
parent 809c971605
commit c7f2f31980

View File

@@ -9,6 +9,22 @@ export default {
mixins: [
G2
],
// 公用参数在 G2 mixin 中
// 这个组件特有的参数添加在这里
props: {
// 横轴字段名
keyNameX: {
type: String,
required: false,
default: 'x'
},
// 纵轴字段名
keyNameY: {
type: String,
required: false,
default: 'y'
}
},
methods: {
// 初始化图表
init () {