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

Function calcRotate

src/traces/pie/plot.js:832–834  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

830}
831
832function calcRotate(t) {
833 return (((180 / Math.PI) * t + 720) % 180) - 90;
834}
835
836function calcMaxHalfSize(a, halfAngle, r, ring) {
837 var q = a + 1 / (2 * Math.tan(halfAngle));

Callers 2

calcRadTransformFunction · 0.85
calcTanTransformFunction · 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…