Updated graphical representation

This commit is contained in:
jomjol
2022-10-25 20:55:57 +02:00
parent ab67d1ff35
commit 12dc4eb460
3 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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);
}
}
}