Skip to content
Snippets Groups Projects
Commit ef579072 authored by Stephen Farry's avatar Stephen Farry
Browse files

removed some verbosity

parent 25962b08
Branches
No related merge requests found
......@@ -35,9 +35,7 @@ function init_results(){
var initial_yaxis_flow = [];
var initial_yaxis_pressure = [];
var initial_yaxis_volume = [];
console.log("Getting initial results");
for (let i=Math.min(data.length,1000)-1; i>=0; i--) {
console.log(i, data[i]["timestamp"]);
var seconds = data[i]["timestamp"]/1000;
if ( seconds == "" ) continue;
if (seconds <= timestamp) continue;
......@@ -447,7 +445,7 @@ function create_gauge_chart(var_name) {
},
options: {
maintainAspectRatio: true,
maintainAspectRatio: false,
events: []
}
});
......
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