MCPcopy Create free account
hub / github.com/plotly/plotly.js / overlappingExisting

Function overlappingExisting

src/traces/parcoords/axisbrush.js:49–54  ·  view source on GitHub ↗
(v, existingRanges)

Source from the content-addressed store, hash-verified

47}
48
49function overlappingExisting(v, existingRanges) {
50 for(var i = 0; i < existingRanges.length; i++) {
51 if(v >= existingRanges[i][0] && v <= existingRanges[i][1]) return true;
52 }
53 return false;
54}
55
56function barHorizontalSetup(selection) {
57 selection

Callers 1

ordinalScaleSnapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…