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

Function makeRectDragger

src/plots/cartesian/dragbox.js:1053–1057  ·  view source on GitHub ↗
(plotinfo, dragClass, cursor, x, y, w, h)

Source from the content-addressed store, hash-verified

1051}
1052
1053function makeRectDragger(plotinfo, dragClass, cursor, x, y, w, h) {
1054 var dragger = makeDragger(plotinfo, 'rect', dragClass, cursor);
1055 d3.select(dragger).call(Drawing.setRect, x, y, w, h);
1056 return dragger;
1057}
1058
1059function isDirectionActive(axList, activeVal) {
1060 for(var i = 0; i < axList.length; i++) {

Callers 1

makeDragBoxFunction · 0.85

Calls 1

makeDraggerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…