src/views/model/pre/item/MmPredictItemChart.vue
@@ -167,6 +167,37 @@ }, }, }) //累计点 if(viewData.cumulantRealData) { legendData.push(key + "累计:" + '真实值') seriesData.push({ name: key + "累计:" + '真实值', type: "line", data: viewData.cumulantRealData, showSymbol: false, smooth: false, lineStyle: { normal: { width: 1, }, }, }) } if(viewData.cumulantPreData) { legendData.push(key + "累计:" + '预测值') seriesData.push({ name: key + "累计:" + '预测值', type: "line", data: viewData.cumulantPreData, showSymbol: false, smooth: false, lineStyle: { normal: { width: 1, }, }, }) } }) }