remove bogus code

pull/3/head
cTn 11 years ago
parent 36cb1082ee
commit 32b3c532c9

@ -95,7 +95,7 @@ function drawGraph(graphHelpers, data, sampleNumber) {
limits.push(datum.min);
limits.push(datum.max);
});
graphHelpers.heightScale.domain(d3.extent(limits)).ticks(5);
graphHelpers.heightScale.domain(d3.extent(limits));
}
graphHelpers.widthScale.domain([(sampleNumber - 299), sampleNumber]);
@ -108,11 +108,6 @@ function drawGraph(graphHelpers, data, sampleNumber) {
var lines = group.selectAll("path").data(data, function(d, i) { return i; });
var newLines = lines.enter().append("path").attr("class", "line");
lines.attr('d', graphHelpers.line);
/*
svg.selectAll('.legend .item .value').data(data, function(d, i){ return i; }).
text(function(d) { return "[ " + d[d.length - 1][1].toFixed(2) + " ]"; });
*/
}
function tab_initialize_sensors() {

Loading…
Cancel
Save