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

Function calcRCenter

src/traces/pie/plot.js:828–830  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

826}
827
828function calcRCenter(a, b) {
829 return Math.cos(b) - a * b;
830}
831
832function calcRotate(t) {
833 return (((180 / Math.PI) * t + 720) % 180) - 90;

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…