add rowGap configuration
This commit is contained in:
parent
33456176f7
commit
ba90fb2faa
|
@ -53,6 +53,12 @@ export default {
|
|||
* @example textAlign = 'center' | 'left' | 'right'
|
||||
*/
|
||||
textAlign: 'center',
|
||||
/**
|
||||
* @description rowGap
|
||||
* @type {Number}
|
||||
@default rowGap = 0
|
||||
*/
|
||||
rowGap: 0,
|
||||
/**
|
||||
* @description Text style configuration
|
||||
* @type {Object} {CRender Class Style}
|
||||
|
@ -124,7 +130,7 @@ export default {
|
|||
})
|
||||
},
|
||||
getShape () {
|
||||
const { number, content, toFixed, textAlign } = this.mergedConfig
|
||||
const { number, content, toFixed, textAlign, rowGap } = this.mergedConfig
|
||||
|
||||
const [w, h] = this.renderer.area
|
||||
|
||||
|
@ -137,7 +143,8 @@ export default {
|
|||
number,
|
||||
content,
|
||||
toFixed,
|
||||
position
|
||||
position,
|
||||
rowGap
|
||||
}
|
||||
},
|
||||
getStyle () {
|
||||
|
|
Loading…
Reference in New Issue