From 53c1f9bc1ec1e80ab90c935fc11e9242deaf355e 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, 25 Jun 2024 17:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=BE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ems/report/currentVoltageCurve/index.vue | 126 ++++++++++-------- 1 file changed, 69 insertions(+), 57 deletions(-) diff --git a/src/views/ems/report/currentVoltageCurve/index.vue b/src/views/ems/report/currentVoltageCurve/index.vue index ee85e43..330a90e 100644 --- a/src/views/ems/report/currentVoltageCurve/index.vue +++ b/src/views/ems/report/currentVoltageCurve/index.vue @@ -58,57 +58,57 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + e.collectTime), axisLine: { @@ -386,7 +392,7 @@ export default { yAxis: [ { type: "value", - name: "电流", + name: "电流(A)", nameTextStyle: { color: "#000", }, @@ -470,8 +476,12 @@ export default { ], } let option2 = { + title:{ + text:'电压信息', + x:'center' + }, grid: { - top: "10%", + top: "15%", bottom: "10%", left:'3%', right:'3%' @@ -489,7 +499,9 @@ export default { }, }, }, - legend: {}, + legend: { + right:0 + }, xAxis: { data: data.map(e=>e.collectTime), axisLine: { @@ -511,7 +523,7 @@ export default { yAxis: [ { type: "value", - name: "电压", + name: "电压(V)", nameTextStyle: { color: "#000", },