change(ems): 修改瞬时流量图表标题

- 在瞬时流量图表标题中增加"曲线"二字,标题显示平均值
master
zch 7 months ago
parent f4aabd23a2
commit de33285eff

@ -265,7 +265,7 @@ export default {
let option1 = {
title: {
text: this.selectMonitorName + ' 瞬时流量' + ' (平均值:'+
text: this.selectMonitorName + ' 瞬时流量曲线' + ' (平均值:'+
((data.map(e=>parseFloat(e.fluxFlow)).reduce((a,b)=>a+b,0))/data.length).toFixed(2)+")",
x: 'center'
},

Loading…
Cancel
Save