|
|
|
@ -268,7 +268,12 @@ export default { |
|
|
|
|
myChart2 = echarts.init(document.getElementById("myEcharts2")); |
|
|
|
|
myChart2.setOption({ |
|
|
|
|
title: {}, |
|
|
|
|
legend:{}, |
|
|
|
|
legend:{ |
|
|
|
|
data:['当前功率'], |
|
|
|
|
textStyle: { |
|
|
|
|
color: "white" //标题的颜色 |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
tooltip: { |
|
|
|
|
trigger: "axis", |
|
|
|
|
show: true |
|
|
|
@ -331,6 +336,22 @@ export default { |
|
|
|
|
color:'#2F8EE0' |
|
|
|
|
}, |
|
|
|
|
symbol: "none", //去掉拐角点 |
|
|
|
|
markPoint: { |
|
|
|
|
itemStyle: { |
|
|
|
|
normal: { |
|
|
|
|
label: { |
|
|
|
|
color: '#fff', |
|
|
|
|
// fontSize: 9 |
|
|
|
|
// borderColor: '#000', |
|
|
|
|
// borderWidth: 1, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
data: [ |
|
|
|
|
{type: "max", name: "最大值"}, |
|
|
|
|
{type: "min", name: "最小值"} |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}); |
|
|
|
|