We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92fc203 commit 3bdb0a5Copy full SHA for 3bdb0a5
src/traces/parcoords/axisbrush.js
@@ -102,7 +102,7 @@ function setHighlight(d) {
102
103
function unitToPx(unitRanges, height) {
104
return unitRanges.map(function(pr) {
105
- return pr.map(function(v) { return v * height; }).sort(sortAsc);
+ return pr.map(function(v) { return Math.max(0, v * height); }).sort(sortAsc);
106
});
107
}
108
0 commit comments