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

Function _run

test/jasmine/tests/cartesian_interact_test.js:239–244  ·  view source on GitHub ↗
(p0, p1, markerDisplay, textDisplay, barTextDisplay)

Source from the content-addressed store, hash-verified

237 }
238
239 function _run(p0, p1, markerDisplay, textDisplay, barTextDisplay) {
240 var fns = drag.makeFns({pos0: p0, posN: p1});
241 return fns.start()
242 .then(function() { _assert(markerDisplay, textDisplay, barTextDisplay); })
243 .then(fns.end);
244 }
245
246 Plotly.newPlot(gd, [{
247 mode: 'markers+text',

Callers 1

Calls 4

makeDragFnsFunction · 0.85
_assertLabelsFunction · 0.85
getDraggerFunction · 0.85
_assertFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…