Commit 823970bc authored by xinzhedeai's avatar xinzhedeai

add:警戒线

parent bb304d10
......@@ -377,10 +377,21 @@ export default {
code: "202206201438352828",
},
}).then((res) => {
// const data = res.body;
const data = this.getChartData().body
const data = res.body;
// const data = this.getChartData().body
console.log("data", data);
const chartData = this.seriesDataFormat(data, { datekey: "date" });
var warningLine = undefined // this.form.config.warningLine;
var option = {
valEnabled: true,
opacity:1,
lineWidth:3,
};
var alarmData = this.discernValidAlarmValue(data.alarm, data.lists, chartData.series, warningLine, option);
// const chartData = data
console.log("chartCData", chartData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment