From 99415a67ffe4701a24e5034d51e0d23e9f15c6e2 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Mon, 22 Apr 2024 17:32:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=9B=BE=E8=A1=A8):=20=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E6=A0=87=E9=A2=98=E5=92=8C=E7=BB=98=E5=9B=BE=E5=8C=BA?= =?UTF-8?q?=E9=97=B4=E9=9A=94=E8=B0=83=E6=95=B4?= 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 ++-- core/core-frontend/src/views/chart/components/views/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 991468bf83..757817baa7 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 @@ -29,9 +29,9 @@ import { DOM } from '@antv/l7-utils' export function getPadding(chart: Chart): number[] { if (chart.drill) { - return [0, 10, 26, 10] + return [0, 10, 22, 10] } else { - return [0, 10, 14, 10] + return [0, 10, 10, 10] } } // color,label,tooltip,axis,legend,background diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 949b078ba1..71dd9fcee7 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -587,9 +587,9 @@ const toolTip = computed(() => { const marginBottom = computed(() => { if (titleShow.value || trackMenu.value.length > 0 || state.title_remark.show) { - return 8 * scale.value + 'px' + return 12 * scale.value + 'px' } - return 0 + return 12 }) const iconSize = computed(() => {