From f5ab83dfad01c87828232af8cd18c676e69fd917 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 21 五月 2025 09:14:11 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit
---
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