mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 07:15:18 +03:00
remove bogus code
This commit is contained in:
parent
36cb1082ee
commit
32b3c532c9
1 changed files with 1 additions and 6 deletions
|
@ -95,7 +95,7 @@ function drawGraph(graphHelpers, data, sampleNumber) {
|
||||||
limits.push(datum.min);
|
limits.push(datum.min);
|
||||||
limits.push(datum.max);
|
limits.push(datum.max);
|
||||||
});
|
});
|
||||||
graphHelpers.heightScale.domain(d3.extent(limits)).ticks(5);
|
graphHelpers.heightScale.domain(d3.extent(limits));
|
||||||
}
|
}
|
||||||
graphHelpers.widthScale.domain([(sampleNumber - 299), sampleNumber]);
|
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 lines = group.selectAll("path").data(data, function(d, i) { return i; });
|
||||||
var newLines = lines.enter().append("path").attr("class", "line");
|
var newLines = lines.enter().append("path").attr("class", "line");
|
||||||
lines.attr('d', graphHelpers.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() {
|
function tab_initialize_sensors() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue