Skip to content

Commit c415868

Browse files
committed
fix 4831 - discard ranges in parcoords axisbrush dedupeRealRanges
1 parent f60c505 commit c415868

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/traces/parcoords/axisbrush.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,15 @@ function dedupeRealRanges(intervals) {
453453
}
454454
result.push(currentInterval);
455455
}
456+
457+
if(
458+
result.length === 1 &&
459+
result[0][0] > result[0][1]
460+
) {
461+
// discard result
462+
result = [];
463+
}
464+
456465
return result;
457466
}
458467

0 commit comments

Comments
 (0)