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

style(图表): 优化标签在canvas内显示
This commit is contained in:
jianneng-fit2cloud 2024-11-22 16:32:09 +08:00 committed by GitHub
commit 15ce69a04f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -172,6 +172,7 @@ export function getLabel(chart: Chart) {
'bar'
].includes(chart.type)
) {
layout.push({ type: 'limit-in-canvas' })
layout.push({ type: 'hide-overlap' })
} else {
layout.push({ type: 'limit-in-plot' })