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

Function makeDragFns

test/jasmine/tests/cartesian_interact_test.js:351–354  ·  view source on GitHub ↗
(subplot, directions, dx, dy, x0, y0)

Source from the content-addressed store, hash-verified

349 }
350
351 function makeDragFns(subplot, directions, dx, dy, x0, y0) {
352 var dragger = getDragger(subplot, directions);
353 return drag.makeFns({node: dragger, dpos: [dx, dy], pos0: [x0, y0]});
354 }
355
356 describe('subplots with shared axes', function() {
357 var initialRange = [0, 2];

Callers 2

_runFunction · 0.85

Calls 1

getDraggerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…