mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-02 14:49:04 +03:00
Updated graphical representation
This commit is contained in:
@@ -13,7 +13,7 @@ function getbasepath(){
|
||||
{
|
||||
// host = "http://192.168.2.219"; // jomjol interner test
|
||||
// host = "http://192.168.178.46"; // jomjol interner test
|
||||
host = "http://192.168.178.44"; // jomjol interner Real
|
||||
host = "http://192.168.178.46"; // jomjol interner Real
|
||||
// host = "http://192.168.43.191";
|
||||
// host = "."; // jomjol interner localhost
|
||||
|
||||
|
||||
@@ -66,11 +66,9 @@ fetch(_basepath + '/fileserver/log/data/' + datefile)
|
||||
var value = line.split("\t")[datatype];
|
||||
var time = line.split("\t")[0];
|
||||
console.log("> "+time+" "+value+"\n");
|
||||
if (value<1000) {
|
||||
trace.x.push(timex);
|
||||
timex += 1;
|
||||
trace.y.push(value);
|
||||
}
|
||||
trace.x.push(time);
|
||||
// timex += 1;
|
||||
trace.y.push(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user