We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eeb594 commit ff564a8Copy full SHA for ff564a8
src/roundProgressService.js
@@ -22,7 +22,7 @@ angular.module('angular-svg-round-progress').service('roundProgressService', [fu
22
if(!size) return ring;
23
24
var value = val >= total ? total - 0.00001 : val,
25
- type = (isSemicircle ? 180 : 359.9999),
+ type = isSemicircle ? 180 : 359.9999,
26
perc = total === 0 ? 0 : (value / total) * type,
27
x = size/2,
28
start = polarToCartesian(x, x, R, perc), // in this case x and y are the same
0 commit comments