Merge pull request #13182 from dataease/pr@dev-v2@chart-bar-style

fix(图表): 修复基础柱状图标签过长时显示错位的问题
This commit is contained in:
jianneng-fit2cloud 2024-11-06 18:21:12 +08:00 committed by GitHub
commit 5c720eaeb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,7 +168,8 @@ export function getLabel(chart: Chart) {
'pie-donut', 'pie-donut',
'radar', 'radar',
'waterfall', 'waterfall',
't-heatmap' 't-heatmap',
'bar'
].includes(chart.type) ].includes(chart.type)
) { ) {
layout.push({ type: 'hide-overlap' }) layout.push({ type: 'hide-overlap' })