gatherer/assets/hour_graph.js: remove debug output
This commit is contained in:
parent
f6e607d6ec
commit
fea8e66d1c
|
@ -22,9 +22,6 @@
|
|||
for(var j = 1; j < hours.length; j++) {
|
||||
var x = W * j / (hours.length - 1);
|
||||
var y = H * (0.05 + 0.95 * (1 - hours[j] / max));
|
||||
if (y < H) {
|
||||
console.log("xy", x, y, ' Q ' + x + ',' + y0 + ' ' + x0 + ',' + y + ' ' + x + ',' + y);
|
||||
}
|
||||
var cx = (x0 + x) / 2;
|
||||
svg += ' C ' + cx + ',' + y0 + ' ' + cx + ',' + y + ' ' + x + ',' + y;
|
||||
x0 = x;
|
||||
|
@ -32,7 +29,6 @@
|
|||
}
|
||||
svg += ' L '+W+','+H+' z" stroke="#5582E0" stroke-width="1.5" stroke-linejoin="round" fill="#5582E0"/>';
|
||||
svg += '</svg>';
|
||||
console.log(svg)
|
||||
|
||||
var graphContainer = document.createElement("p");
|
||||
graphContainer.className = "graph";
|
||||
|
|
Loading…
Reference in New Issue