src/app/routes/report/report.component.ts
@@ -105,7 +105,7 @@ } for (let i = 0; i < items.length; i++) { this.title = items[i].formatTime; const legendName = items[i].formatTime + label + (items[i].mac ? items[i].deviceName : items[i].monitorPointName); const legendName = items[i].formatTime + label + (items[i].mac ? '设备:'+items[i].deviceName : (items[i].monitorPointid?'监测点:'+items[i].monitorPointName:items[i].areaName)); option.legend.data[i] = legendName; option.series.push({ name: legendName,