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(() => {