修改图表

main
夜笙歌 5 months ago
parent 53c1f9bc1e
commit a1164fcd3e

@ -347,7 +347,7 @@ export default {
const {data} = await dnbInstantList(query)
let option1 = {
title:{
text:'电流信息',
text:'电流曲线',
x:'center'
},
grid: {
@ -418,7 +418,7 @@ export default {
],
series: [
{
name: "A电流",
name: "A电流",
type: "line",
smooth: true, //线
showAllSymbol: true, //
@ -437,7 +437,7 @@ export default {
data: data.map(e=>e.ia),
},
{
name: "B电流",
name: "B电流",
type: "line",
smooth: true, //线
showAllSymbol: true, //
@ -456,7 +456,7 @@ export default {
data: data.map(e=>e.ib),
},
{
name: "C电流",
name: "C电流",
type: "line",
smooth: true, //线
showAllSymbol: true, //
@ -477,7 +477,7 @@ export default {
}
let option2 = {
title:{
text:'电压信息',
text:'电压曲线',
x:'center'
},
grid: {
@ -549,7 +549,7 @@ export default {
],
series: [
{
name: "A电压",
name: "A电压",
type: "line",
smooth: true, //线
showAllSymbol: true, //
@ -568,7 +568,7 @@ export default {
data: data.map(e=>e.va),
},
{
name: "B电压",
name: "B电压",
type: "line",
smooth: true, //线
showAllSymbol: true, //
@ -587,7 +587,7 @@ export default {
data: data.map(e=>e.vb),
},
{
name: "C电压",
name: "C电压",
type: "line",
smooth: true, //线
showAllSymbol: true, //

Loading…
Cancel
Save