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

Function applyZoomMove

src/plots/polar/polar.js:976–988  ·  view source on GitHub ↗
(path1, cpath)

Source from the content-addressed store, hash-verified

974 }
975
976 function applyZoomMove(path1, cpath) {
977 path1 = path1 || path0;
978 cpath = cpath || 'M0,0Z';
979
980 zb.attr('d', path1);
981 corners.attr('d', cpath);
982 dragBox.transitionZoombox(zb, corners, dimmed, lum);
983 dimmed = true;
984
985 var updateObj = {};
986 computeZoomUpdates(updateObj);
987 gd.emit('plotly_relayouting', updateObj);
988 }
989
990 function zoomMove(dx, dy) {
991 dx = dx * scaleX;

Callers 2

zoomMoveFunction · 0.85
zoomMoveForPolygonsFunction · 0.85

Calls 1

computeZoomUpdatesFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…