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

Function _drag

test/jasmine/tests/splom_test.js:1432–1437  ·  view source on GitHub ↗
(p0, p1)

Source from the content-addressed store, hash-verified

1430 });
1431
1432 function _drag(p0, p1) {
1433 var node = d3Select('.nsewdrag[data-subplot="xy"]').node();
1434 var dx = p1[0] - p0[0];
1435 var dy = p1[1] - p0[1];
1436 return drag({node: node, dpos: [dx, dy], pos0: p0});
1437 }
1438
1439 it('@gl should update scattermatrix ranges on pan', function(done) {
1440 var fig = require('../../image/mocks/splom_iris.json');

Callers 1

splom_test.jsFile · 0.70

Calls 1

dragFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…