From 44af8f051bba1c4dbb509c70ca0b5b5dba42174d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com>
Date: Tue, 19 Jul 2022 16:51:30 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=95=8C=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../main/resources/static/js/echartsCommon.js | 29 ++++++++++++++++++-
.../main/resources/templates/broad/fp.html | 8 ++---
2 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/static/js/echartsCommon.js b/ruoyi-admin/src/main/resources/static/js/echartsCommon.js
index dc088c6..c62aeac 100644
--- a/ruoyi-admin/src/main/resources/static/js/echartsCommon.js
+++ b/ruoyi-admin/src/main/resources/static/js/echartsCommon.js
@@ -1434,7 +1434,7 @@ const multipleBrokenLineAreaDiagram = (data, ids) => {
itemHeight: 0.25 * vw,
itemGap: 0.75 * vw,
data: [data.yDataOneName, data.yDataTwoName, data.yDataThreeName],
- left: "4%",
+ right: "4%",
textStyle: {
fontSize: 0.75 * vw,
color: "#F1F1F3",
@@ -1470,6 +1470,7 @@ const multipleBrokenLineAreaDiagram = (data, ids) => {
axisTick: {
show: false,
},
+ min:15,
axisLine: {
lineStyle: {
color: "#57617B",
@@ -1525,6 +1526,19 @@ const multipleBrokenLineAreaDiagram = (data, ids) => {
color: "rgb(137,189,27)",
},
},
+ label: {
+ //图形上的文本标签
+ normal: {
+ show: true,
+ position: "top",
+ textStyle: {
+ color: "#a8aab0",
+ fontStyle: "normal",
+ fontFamily: "微软雅黑",
+ fontSize: 0.75 * vw,
+ },
+ },
+ },
data: data.yDataOne,
},
{
@@ -1564,6 +1578,19 @@ const multipleBrokenLineAreaDiagram = (data, ids) => {
color: "rgb(0,136,212)",
},
},
+ label: {
+ //图形上的文本标签
+ normal: {
+ show: true,
+ position: "top",
+ textStyle: {
+ color: "#a8aab0",
+ fontStyle: "normal",
+ fontFamily: "微软雅黑",
+ fontSize: 0.75 * vw,
+ },
+ },
+ },
data: data.yDataTwo,
},
{
diff --git a/ruoyi-admin/src/main/resources/templates/broad/fp.html b/ruoyi-admin/src/main/resources/templates/broad/fp.html
index fb09720..2a0b9de 100644
--- a/ruoyi-admin/src/main/resources/templates/broad/fp.html
+++ b/ruoyi-admin/src/main/resources/templates/broad/fp.html
@@ -909,14 +909,14 @@
A2
B1
B2
- 发泡机1
- 发泡机2
+ 1#发泡机
+ 2#发泡机
A1
B1
A2
B2
- 压力统计
- 温度统计
+ 发泡注料压力监控
+ 发泡注料温度监控
`
$("body").append(html)
}