From d73cd4a9e1563dd7fa96e41fc19ec12e41883db1 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Fri, 22 Nov 2024 16:27:11 +0800 Subject: [PATCH] =?UTF-8?q?style(=E5=9B=BE=E8=A1=A8):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E5=9C=A8canvas=E5=86=85=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/common/common_antv.ts | 1 + 1 file changed, 1 insertion(+) 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' })