fix:柱状图组件数据标签添加默认偏移量

main
liu.shiyi 1 year ago
parent 4bdc4976cf
commit 1bd4eaa6eb

@ -668,6 +668,7 @@ const option = {
}
},
label: {
offsetY: 20,
// 可手动配置 label 数据标签位置
position: 'middle', // 'top', 'middle', 'bottom'
// 配置样式

@ -593,6 +593,7 @@ const option = {
type: ''
},
label: {
offsetY: 20,
// 可手动配置 label 数据标签位置
position: 'bottom', // 'top', 'bottom', 'middle'
// 配置样式

@ -389,7 +389,7 @@ const setting = [
value: '#d0d0d0',
tabName: 'custom',
groupName: 'yAxis'
},
}
// 边距 padding
]
@ -446,6 +446,7 @@ const option = {
fill: 'l(90) 0:#5AA6AB 1:#217AB1'
},
label: {
offsetY: 13,
// 可手动配置 label 数据标签位置
position: 'middle', // 'top', 'bottom', 'middle',
// 配置样式

Loading…
Cancel
Save