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

Function _run

test/jasmine/tests/polar_test.js:1706–1719  ·  view source on GitHub ↗
(msg, p0, dp, exp)

Source from the content-addressed store, hash-verified

1704 }
1705
1706 function _run(msg, p0, dp, exp) {
1707 var node = d3Select('.polar > .draglayer > .angulardrag').node();
1708 var dragFns = drag.makeFns({node: node, dpos: dp, pos0: p0});
1709
1710 return dragFns.start().then(function() {
1711 layersRotateFromZero.forEach(function(q) {
1712 _assertTransformRotate(msg, q, exp.fromZero);
1713 });
1714 layersRotateFromRadialAxis.forEach(function(q) {
1715 _assertTransformRotate(msg, q, exp.fromRadialAxis);
1716 });
1717 })
1718 .then(dragFns.end);
1719 }
1720
1721 Plotly.newPlot(gd, [{
1722 type: 'scatterpolar',

Callers 1

polar_test.jsFile · 0.70

Calls 2

_assertTransformRotateFunction · 0.85
path2coordsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…