aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/graph.js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app/graph.js')
-rw-r--r--interface/js/app/graph.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/interface/js/app/graph.js b/interface/js/app/graph.js
index 6bd83c72b..3e4983a71 100644
--- a/interface/js/app/graph.js
+++ b/interface/js/app/graph.js
@@ -34,6 +34,7 @@ define(["jquery", "d3evolution", "d3pie", "footable"],
size: {
canvasWidth: 400,
canvasHeight: 180,
+ pieInnerRadius: "50%",
pieOuterRadius: "80%"
},
labels: {
@@ -41,14 +42,18 @@ define(["jquery", "d3evolution", "d3pie", "footable"],
format: "none"
},
inner: {
- hideWhenLessThanPercentage: 8
+ hideWhenLessThanPercentage: 8,
+ offset: 0
},
},
padAngle: 0.02,
pieCenterOffset: {
x: -120,
y: 10,
- }
+ },
+ total: {
+ enabled: true
+ },
};
var ui = {};