diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts index 4da701e2a7..63543558bf 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts @@ -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' })