From e5e5a84d84e7a2b4715bd58096043e565ae0e107 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 21 五月 2025 09:14:04 +0800
Subject: [PATCH] 提交
---
admin/src/views/index.vue | 28 ++++++++++++++++++++++++++--
1 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/admin/src/views/index.vue b/admin/src/views/index.vue
index cf2594d..6ea8f86 100644
--- a/admin/src/views/index.vue
+++ b/admin/src/views/index.vue
@@ -563,7 +563,15 @@
// 杩欓噷杈撳叆绾挎潯鐨勬牱寮�
color: 'rgba(255,255,255,0.14)'
}
- }
+ },
+ axisLabel: {
+ formatter: function(value) {
+ const intValue = Math.round(value);
+ return intValue > 0 ? intValue : '';
+ }
+ },
+ minInterval: 1,
+ min: 1
},
yAxis: {
type: 'category',
@@ -626,6 +634,14 @@
nameTextStyle: {
padding: [0, 0, 4, -30] // 鍥涗釜鏁板瓧鍒嗗埆涓轰笂鍙充笅宸︿笌鍘熶綅缃窛绂�
},
+ axisLabel: {
+ formatter: function(value) {
+ const intValue = Math.round(value);
+ return intValue > 0 ? intValue : '';
+ }
+ },
+ minInterval: 1,
+ min: 1,
splitLine: {
show: true,
lineStyle: {
@@ -732,7 +748,15 @@
// 杩欓噷杈撳叆绾挎潯鐨勬牱寮�
color: 'rgba(255,255,255,0.14)'
}
- }
+ },
+ axisLabel: {
+ formatter: function(value) {
+ const intValue = Math.round(value);
+ return intValue > 0 ? intValue : '';
+ }
+ },
+ minInterval: 1,
+ min: 1
},
grid: {
top: '16%',
--
Gitblit v1.9.3