MCPcopy Index your code
hub / github.com/plotly/plotly.js / noZoom

Function noZoom

src/plots/cartesian/dragbox.js:363–368  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

361 box.b = Math.max(y0, y1);
362
363 function noZoom() {
364 zoomMode = '';
365 box.r = box.l;
366 box.t = box.b;
367 corners.attr('d', 'M0,0Z');
368 }
369
370 if(links.isSubplotConstrained) {
371 if(dx > MINZOOM || dy > MINZOOM) {

Callers 1

zoomMoveFunction · 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…