Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ _getRotation
Method
_getRotation
src/controllers/controller.doughnut.js:172–174 ·
view source on GitHub ↗
* @private
()
Source
from the content-addressed store, hash-verified
170
* @private
171
*/
172
_getRotation() {
173
return
toRadians(this.options.rotation - 90);
174
}
175
176
/**
177
* @private
Callers
2
updateElements
Method · 0.95
_getRotationExtents
Method · 0.80
Calls
1
toRadians
Function · 0.85
Tested by
no test coverage detected