Skip to content

Commit

Permalink
More pie fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Sep 23, 2015
1 parent abe2c8a commit a636a2f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions js/rspamd.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,35 +391,32 @@
"location": "bottom-left"
},
"size": {
"canvasWidth": 450,
"canvasWidth": 600,
"canvasHeight": 400,
"pieInnerRadius": "20%",
"pieOuterRadius": "90%"
"pieOuterRadius": "85%"
},
"data": {
"sortOrder": "value-desc",
//"sortOrder": "value-desc",
"content": data.filter(function(elt) {
return elt.value > 0;
})
},
"labels": {
"outer": {
"hideWhenLessThanPercentage": 1,
"pieDistance": 20
"pieDistance": 30
},
"inner": {
"hideWhenLessThanPercentage": 3
"hideWhenLessThanPercentage": 4
},
"mainLabel": {
"fontSize": 11
"fontSize": 14
},
"percentage": {
"color": "#ffffff",
"decimalPlaces": 1
},
"value": {
"color": "#adadad",
"fontSize": 11
"color": "#eeeeee",
"fontSize": 14,
"decimalPlaces": 0
},
"lines": {
"enabled": true
Expand All @@ -438,6 +435,9 @@
"effect": "back",
"speed": 400,
"size": 8
},
"load": {
"speed": 500
}
},
"misc": {
Expand Down

0 comments on commit a636a2f

Please sign in to comment.