projects
/
g.raphael
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eb6c61
)
g.circular.js
author
edward
<edward@roojs.com>
Fri, 22 Jun 2018 04:55:14 +0000
(12:55 +0800)
committer
edward
<edward@roojs.com>
Fri, 22 Jun 2018 04:55:14 +0000
(12:55 +0800)
g.circular.js
patch
|
blob
|
history
diff --git
a/g.circular.js
b/g.circular.js
index
345b7ae
..
d1c1dd3
100644
(file)
--- a/
g.circular.js
+++ b/
g.circular.js
@@
-48,7
+48,7
@@
Roo = typeof(Roo) != 'undefined' ? Roo: (imports ? imports.seed.Roo.Roo: {});
paper.customAttributes.circularPath = function (cx, cy, value, maxvalue, maxangle, color, R) {
var alpha = maxangle / maxvalue * value,
- a =
9
0 * Math.PI / 180,
+ a =
-18
0 * Math.PI / 180,
x = cx + R * Math.cos(a),
y = cy - R * Math.sin(a),
path;