From 0c4bd0cc8724ae214728b318e4c37c4b1e76377a Mon Sep 17 00:00:00 2001
From: whycq <you@example.com>
Date: 星期三, 30 八月 2023 23:40:05 +0800
Subject: [PATCH] #
---
src/main/webapp/views/monitor/index.html | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/src/main/webapp/views/monitor/index.html b/src/main/webapp/views/monitor/index.html
index 19daacf..631b7c7 100644
--- a/src/main/webapp/views/monitor/index.html
+++ b/src/main/webapp/views/monitor/index.html
@@ -186,10 +186,11 @@
legend: {
textStyle:{color:'#FFF'},
},
- grid: {
+ grid: { // 鍥捐〃璺濈杈规鐨勮窛绂伙紝鍙敤鐧惧垎姣斿拰鏁板瓧锛坧x锛夐厤缃�
+ top: '10%',
left: '3%',
- right: '4%',
- bottom: '3%',
+ right: '5%',
+ bottom: '0%',
containLabel: true
},
xAxis: {
@@ -232,22 +233,20 @@
option = {
legend: {
+ icon: 'roundRect',
data: ['涓婂崍鍑哄簱', '涓婂崍鍏ュ簱', '涓嬪崍鍑哄簱', '涓嬪崍鍏ュ簱'],
textStyle:{color:'#FFF'},
- lineStyle: {
- width: 10,
-
- },
},
grid: { // 鍥捐〃璺濈杈规鐨勮窛绂伙紝鍙敤鐧惧垎姣斿拰鏁板瓧锛坧x锛夐厤缃�
top: '20%',
left: '3%',
- right: '10%',
+ right: '5%',
bottom: '5%',
containLabel: true
},
xAxis: {
type: 'category',
+ boundaryGap: false,
axisLine: {
lineStyle: {
color: '#FFF'
@@ -268,24 +267,24 @@
name: '涓婂崍鍑哄簱',
type: 'line',
lineStyle: {
+ width: 0,
normal: {
width: 4
}
},
smooth: true,
- stack: 'Total',
data: [10, 10, 10, 10, 10, 10, 10]
},
{
name: '涓婂崍鍏ュ簱',
type: 'line',
lineStyle: {
+ width: 0,
normal: {
width: 4
}
},
smooth: true,
- stack: 'Total',
data: [10, 10, 10, 10, 10, 10, 10]
},
{
@@ -297,7 +296,6 @@
}
},
smooth: true,
- stack: 'Total',
data: [10, 10, 10, 10, 10, 10, 10]
},
{
@@ -309,7 +307,6 @@
}
},
smooth: true,
- stack: 'Total',
data: [10, 1, 10, 10, 10, 10, 10]
},
]
--
Gitblit v1.9.1