Compare commits

...

5 Commits

Author SHA1 Message Date
db52e8cdc0 update change log 2020-05-03 20:26:37 +08:00
f8e438b0c4 update version to 2.8.1 2020-05-03 20:26:33 +08:00
1a13bc08c5 update dist and lib 2020-05-03 20:15:35 +08:00
ba90fb2faa add rowGap configuration 2020-05-03 20:15:28 +08:00
33456176f7 update dist 2020-04-28 18:41:09 +08:00
6 changed files with 523 additions and 293 deletions

View File

@ -1,9 +1,9 @@
# 2.8.0-alpha (2020-04-25)
# 2.8.1-alpha (2020-05-03)
### Perfect
- **borderBox:** Add backgroundColor configuration.
- **capsuleChart:** Improve compatibility.
- **digitalFlop:** Use `\n` to start a newline.
- **digitalFlop:** `rowGap` configuration.
# 2.7.4-alpha (2020-04-15)

784
dist/datav.map.vue.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -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 () {

View File

@ -1,6 +1,6 @@
{
"name": "@jiaminghi/data-view",
"version": "2.8.0",
"version": "2.8.1",
"author": "JiaMing <743192023@qq.com>",
"description": "Vue Large screen data display component library",
"main": "lib/index.js",

View File

@ -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 () {