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

Function brushMove

src/traces/parcoords/parcoords.js:247–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245 specifiedConstraint.map(function(d) { return d.map(domainToPaddedUnit); }) :
246 [[-Infinity, Infinity]];
247 var brushMove = function() {
248 var p = vm;
249 p.focusLayer && p.focusLayer.render(p.panels, true);
250 var filtersActive = someFiltersActive(p);
251 if(!state.contextShown() && filtersActive) {
252 p.contextLayer && p.contextLayer.render(p.panels, true);
253 state.contextShown(true);
254 } else if(state.contextShown() && !filtersActive) {
255 p.contextLayer && p.contextLayer.render(p.panels, true, true);
256 state.contextShown(false);
257 }
258 };
259
260 var truncatedValues = dimension.values;
261 if(truncatedValues.length > dimension._length) {

Callers

nothing calls this directly

Calls 1

someFiltersActiveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…