mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
clamp width scale, reorder elements to hide AA
This commit is contained in:
parent
000ff998e1
commit
f91c73a38b
3 changed files with 12 additions and 9 deletions
|
@ -44,6 +44,7 @@ function initGraphHelpers(selector, sampleNumber, heightDomain) {
|
|||
var helpers = {selector: selector, dynamicHeightDomain: !heightDomain};
|
||||
|
||||
helpers.widthScale = d3.scale.linear().
|
||||
clamp(true).
|
||||
domain([(sampleNumber - 299), sampleNumber]).
|
||||
range([0, width]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue