MCPcopy Create free account
hub / github.com/plotly/plotly.js / findPolygonRadius

Function findPolygonRadius

src/plots/polar/polar.js:1012–1015  ·  view source on GitHub ↗
(x, y, va0, va1)

Source from the content-addressed store, hash-verified

1010 }
1011
1012 function findPolygonRadius(x, y, va0, va1) {
1013 var xy = helpers.findIntersectionXY(va0, va1, va0, [x - cxx, cyy - y]);
1014 return norm(xy[0], xy[1]);
1015 }
1016
1017 function zoomMoveForPolygons(dx, dy) {
1018 var x1 = x0 + dx;

Callers 1

zoomMoveForPolygonsFunction · 0.85

Calls 1

normFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…