projects
/
g.raphael
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b38ffd6
)
g.circular.js
author
Edward
<edward@roojs.com>
Thu, 5 Jul 2018 05:38:16 +0000
(13:38 +0800)
committer
Edward
<edward@roojs.com>
Thu, 5 Jul 2018 05:38:16 +0000
(13:38 +0800)
g.circular.js
patch
|
blob
|
history
diff --git
a/g.circular.js
b/g.circular.js
index
db0eab8
..
b40d74b
100644
(file)
--- a/
g.circular.js
+++ b/
g.circular.js
@@
-30,14
+30,6
@@
Roo = typeof(Roo) != 'undefined' ? Roo: (imports ? imports.seed.Roo.Roo: {});
opts = opts || {};
var colors = [
- '#5f236c',
- '#9336a7',
- '#cc8cda',
- '#6666b2',
- '#9999cc',
- '#66d6fb',
- '#4795af',
- '#93e2fc',
'#e0f6fe',
'#eeeeee'
];
@@
-68,9
+60,9
@@
Roo = typeof(Roo) != 'undefined' ? Roo: (imports ? imports.seed.Roo.Roo: {});
var barwidth = opts.barwidth || Math.min(Math.floor(r / cut), 12);
- if(cut < 8){
- colors = colors.slice(2);
- }
+
//
if(cut < 8){
+
//
colors = colors.slice(2);
+
//
}
if(opts.colors){
colors = opts.colors;