From ead4078079a71bbef43ffc22a7ea7fb0f4039bf0 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 28 十一月 2025 17:36:28 +0800
Subject: [PATCH] fix: bug

---
 src/views/DataBoard/utils/index.ts |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/views/DataBoard/utils/index.ts b/src/views/DataBoard/utils/index.ts
index 07b28c9..8c9e572 100644
--- a/src/views/DataBoard/utils/index.ts
+++ b/src/views/DataBoard/utils/index.ts
@@ -24,6 +24,11 @@
 };
 
 const CommonBarChartOptions: EChartsOption = {
+  grid: {
+    left: '10%', // 澧炲姞宸︿晶杈硅窛锛堥粯璁�10%锛�
+    bottom: '15%',
+    right: '5%',
+  },
   tooltip: {
     trigger: 'axis',
     axisPointer: {
@@ -224,10 +229,13 @@
   data,
   xAxisData,
   name,
-  yAxisName = '鍗曚綅/涓�',
+  yAxisName = '鍗曚綅/鍏�',
   color,
 }: CreateNewEnterChartOptionsOptions) {
   return _.merge({}, CommonBarChartOptions, {
+    grid: {
+      left: '20%',
+    },
     xAxis: {
       data: xAxisData,
       boundaryGap: false,

--
Gitblit v1.9.1