mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Clamp values on sensors y axis
This commit is contained in:
parent
f36ebee97e
commit
89ef9ac9a7
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ function initGraphHelpers(selector, sampleNumber, heightDomain) {
|
|||
range([0, width]);
|
||||
|
||||
helpers.heightScale = d3.scale.linear().
|
||||
clamp(true).
|
||||
domain(heightDomain || [1, -1]).
|
||||
range([height, 0]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue