From cfd50bf5368e74d4b4710cd8bdc44b5baee24cc5 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 30 八月 2023 17:03:38 +0800
Subject: [PATCH] # 显示屏

---
 src/main/webapp/views/monitor/index.html |   76 ++++++++++++++++++++++++++++++++++++--
 1 files changed, 72 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/views/monitor/index.html b/src/main/webapp/views/monitor/index.html
index b8bc3cf..19daacf 100644
--- a/src/main/webapp/views/monitor/index.html
+++ b/src/main/webapp/views/monitor/index.html
@@ -231,19 +231,87 @@
     var option;
 
     option = {
+        legend: {
+            data: ['涓婂崍鍑哄簱', '涓婂崍鍏ュ簱', '涓嬪崍鍑哄簱', '涓嬪崍鍏ュ簱'],
+            textStyle:{color:'#FFF'},
+            lineStyle: {
+                width: 10,
+
+            },
+        },
+        grid: { // 鍥捐〃璺濈杈规鐨勮窛绂伙紝鍙敤鐧惧垎姣斿拰鏁板瓧锛坧x锛夐厤缃�
+            top: '20%',
+            left: '3%',
+            right: '10%',
+            bottom: '5%',
+            containLabel: true
+        },
         xAxis: {
             type: 'category',
+            axisLine: {
+                lineStyle: {
+                    color: '#FFF'
+                }
+            },
             data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
         },
         yAxis: {
-            type: 'value'
+            type: 'value',
+            axisLine: {
+                lineStyle: {
+                    color: '#FFF'
+                }
+            },
         },
         series: [
             {
-                data: [820, 932, 901, 934, 1290, 1330, 1320],
+                name: '涓婂崍鍑哄簱',
                 type: 'line',
-                smooth: true
-            }
+                lineStyle: {
+                    normal: {
+                        width: 4
+                    }
+                },
+                smooth: true,
+                stack: 'Total',
+                data: [10, 10, 10, 10, 10, 10, 10]
+            },
+            {
+                name: '涓婂崍鍏ュ簱',
+                type: 'line',
+                lineStyle: {
+                    normal: {
+                        width: 4
+                    }
+                },
+                smooth: true,
+                stack: 'Total',
+                data: [10, 10, 10, 10, 10, 10, 10]
+            },
+            {
+                name: '涓嬪崍鍑哄簱',
+                type: 'line',
+                lineStyle: {
+                    normal: {
+                        width: 4
+                    }
+                },
+                smooth: true,
+                stack: 'Total',
+                data: [10, 10, 10, 10, 10, 10, 10]
+            },
+            {
+                name: '涓嬪崍鍏ュ簱',
+                type: 'line',
+                lineStyle: {
+                    normal: {
+                        width: 4
+                    }
+                },
+                smooth: true,
+                stack: 'Total',
+                data: [10, 1, 10, 10, 10, 10, 10]
+            },
         ]
     };
 

--
Gitblit v1.9.1