mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +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.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…
Add table
Add a link
Reference in a new issue