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

Function xCorners

src/plots/cartesian/dragbox.js:1217–1223  ·  view source on GitHub ↗
(box, y0)

Source from the content-addressed store, hash-verified

1215}
1216
1217function xCorners(box, y0) {
1218 return 'M' +
1219 (box.l - 0.5) + ',' + (y0 - MINZOOM - 0.5) +
1220 'h-3v' + (2 * MINZOOM + 1) + 'h3ZM' +
1221 (box.r + 0.5) + ',' + (y0 - MINZOOM - 0.5) +
1222 'h3v' + (2 * MINZOOM + 1) + 'h-3Z';
1223}
1224
1225function yCorners(box, x0) {
1226 return 'M' +

Callers 1

zoomMoveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…