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

main
liu.shiyi 1 year ago
parent e903c5b2a8
commit 0c1b993618

@ -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'
// 配置样式

@ -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