mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-15 16:06:54 +03:00
remove debug code
This commit is contained in:
@@ -40,13 +40,11 @@ fetch('/fileserver/log/message/log_'+date+'.txt')
|
|||||||
var value = line.split(" ")[6];
|
var value = line.split(" ")[6];
|
||||||
var time = line.split(" ")[0];
|
var time = line.split(" ")[0];
|
||||||
console.log("> "+time+" "+value+"\n");
|
console.log("> "+time+" "+value+"\n");
|
||||||
if (value<1000) {
|
|
||||||
trace.x.push(timex);
|
trace.x.push(timex);
|
||||||
timex += 1;
|
timex += 1;
|
||||||
trace.y.push(value);
|
trace.y.push(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
console.log(trace);
|
console.log(trace);
|
||||||
var data = [trace];
|
var data = [trace];
|
||||||
Plotly.newPlot('chart', data);
|
Plotly.newPlot('chart', data);
|
||||||
|
|||||||
Reference in New Issue
Block a user