From 29caffdf68829b4e841b550bf989500a52f7c1c7 Mon Sep 17 00:00:00 2001 From: ulleo Date: Wed, 27 Nov 2024 18:18:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E5=8F=8C=E7=BA=BF?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E7=AD=BE=E5=B1=95=E7=A4=BA=E4=B8=8D=E5=85=A8?= 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 | 4 ++++ 1 file changed, 4 insertions(+) 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 1c0b5110fb..53fe64c276 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 @@ -176,6 +176,10 @@ export function getLabel(chart: Chart) { ) { layout.push({ type: 'limit-in-canvas' }) layout.push({ type: 'hide-overlap' }) + } else if (chart.type.includes('chart-mix')) { + layout.push({ type: 'limit-in-canvas' }) + layout.push({ type: 'limit-in-plot' }) + layout.push({ type: 'hide-overlap' }) } else { layout.push({ type: 'limit-in-plot' }) layout.push({ type: 'fixed-overlap' })