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", },