Compare commits
5 Commits
V2.8.0-alp
...
V2.8.1-alp
Author | SHA1 | Date | |
---|---|---|---|
db52e8cdc0 | |||
f8e438b0c4 | |||
1a13bc08c5 | |||
ba90fb2faa | |||
33456176f7 |
@ -1,9 +1,9 @@
|
|||||||
# 2.8.0-alpha (2020-04-25)
|
# 2.8.1-alpha (2020-05-03)
|
||||||
|
|
||||||
### Perfect
|
### Perfect
|
||||||
|
|
||||||
- **borderBox:** Add backgroundColor configuration.
|
- **digitalFlop:** Use `\n` to start a newline.
|
||||||
- **capsuleChart:** Improve compatibility.
|
- **digitalFlop:** `rowGap` configuration.
|
||||||
|
|
||||||
# 2.7.4-alpha (2020-04-15)
|
# 2.7.4-alpha (2020-04-15)
|
||||||
|
|
||||||
|
784
dist/datav.map.vue.js
vendored
784
dist/datav.map.vue.js
vendored
File diff suppressed because it is too large
Load Diff
2
dist/datav.min.vue.js
vendored
2
dist/datav.min.vue.js
vendored
File diff suppressed because one or more lines are too long
@ -53,6 +53,12 @@ export default {
|
|||||||
* @example textAlign = 'center' | 'left' | 'right'
|
* @example textAlign = 'center' | 'left' | 'right'
|
||||||
*/
|
*/
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
/**
|
||||||
|
* @description rowGap
|
||||||
|
* @type {Number}
|
||||||
|
@default rowGap = 0
|
||||||
|
*/
|
||||||
|
rowGap: 0,
|
||||||
/**
|
/**
|
||||||
* @description Text style configuration
|
* @description Text style configuration
|
||||||
* @type {Object} {CRender Class Style}
|
* @type {Object} {CRender Class Style}
|
||||||
@ -124,7 +130,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getShape () {
|
getShape () {
|
||||||
const { number, content, toFixed, textAlign } = this.mergedConfig
|
const { number, content, toFixed, textAlign, rowGap } = this.mergedConfig
|
||||||
|
|
||||||
const [w, h] = this.renderer.area
|
const [w, h] = this.renderer.area
|
||||||
|
|
||||||
@ -137,7 +143,8 @@ export default {
|
|||||||
number,
|
number,
|
||||||
content,
|
content,
|
||||||
toFixed,
|
toFixed,
|
||||||
position
|
position,
|
||||||
|
rowGap
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getStyle () {
|
getStyle () {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@jiaminghi/data-view",
|
"name": "@jiaminghi/data-view",
|
||||||
"version": "2.8.0",
|
"version": "2.8.1",
|
||||||
"author": "JiaMing <743192023@qq.com>",
|
"author": "JiaMing <743192023@qq.com>",
|
||||||
"description": "Vue Large screen data display component library",
|
"description": "Vue Large screen data display component library",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
|
@ -53,6 +53,12 @@ export default {
|
|||||||
* @example textAlign = 'center' | 'left' | 'right'
|
* @example textAlign = 'center' | 'left' | 'right'
|
||||||
*/
|
*/
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
/**
|
||||||
|
* @description rowGap
|
||||||
|
* @type {Number}
|
||||||
|
@default rowGap = 0
|
||||||
|
*/
|
||||||
|
rowGap: 0,
|
||||||
/**
|
/**
|
||||||
* @description Text style configuration
|
* @description Text style configuration
|
||||||
* @type {Object} {CRender Class Style}
|
* @type {Object} {CRender Class Style}
|
||||||
@ -124,7 +130,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getShape () {
|
getShape () {
|
||||||
const { number, content, toFixed, textAlign } = this.mergedConfig
|
const { number, content, toFixed, textAlign, rowGap } = this.mergedConfig
|
||||||
|
|
||||||
const [w, h] = this.renderer.area
|
const [w, h] = this.renderer.area
|
||||||
|
|
||||||
@ -137,7 +143,8 @@ export default {
|
|||||||
number,
|
number,
|
||||||
content,
|
content,
|
||||||
toFixed,
|
toFixed,
|
||||||
position
|
position,
|
||||||
|
rowGap
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getStyle () {
|
getStyle () {
|
||||||
|
Reference in New Issue
Block a user