Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ radToNearestDegree
Function
radToNearestDegree
test/specs/scale.radialLinear.tests.js:533–535 ·
view source on GitHub ↗
(rad)
Source
from the content-addressed store, hash-verified
531
});
532
533
var
radToNearestDegree =
function
(rad) {
534
return
Math.round((360 * rad) / (2 * Math.PI));
535
};
536
537
var
slice = 72;
// (360 / 5)
538
Callers
1
scale.radialLinear.tests.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected