jiminglei 2 years ago
parent e1fb4112cd
commit d780c1020c
  1. 23
      psdc-ui/src/views/emonitor/db/index.vue

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

Loading…
Cancel
Save