fix(图表): 优化双向条形图的标签显示逻辑

This commit is contained in:
jianneng-fit2cloud
2026-06-01 18:27:15 +08:00
parent 58f4e712a6
commit 476eb7045a

View File

@@ -885,7 +885,7 @@ export class BidirectionalHorizontalBar extends G2ChartView {
},
transform: label.fullDisplay
? [{ type: 'exceedAdjust' }]
: [{ type: 'overlapDodgeY' }, { type: 'exceedAdjust' }, { type: 'overlapHide' }],
: [{ type: 'exceedAdjust' }, { type: 'overlapHide' }],
fontFamily: chart.fontFamily
}
if (formatterMap[yAxis[0].id]?.show !== false) {