projects
/
website.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mini modif sur Donnez
[website.git]
/
assets
/
pie_graphs.js
diff --git
a/assets/pie_graphs.js
b/assets/pie_graphs.js
index 4fb9f51bcc05550368375571904183333125160b..e607fa5c9649d82948a55340e4806e79e0272688 100644
(file)
--- a/
assets/pie_graphs.js
+++ b/
assets/pie_graphs.js
@@
-9,13
+9,13
@@
PieDrawer.formatPercent = d3.format(".2%");
PieDrawer.color_nos_oignons = "#ffa430";
PieDrawer.color_others = "#57075f";
PieDrawer.color_nos_oignons = "#ffa430";
PieDrawer.color_others = "#57075f";
-PieDrawer.arc = d3.arc()
+PieDrawer.arc = d3.
svg.
arc()
.outerRadius(PieDrawer.radius - 10)
.innerRadius(PieDrawer.radius - 40);
PieDrawer.labelRadius = PieDrawer.radius - 15;
.outerRadius(PieDrawer.radius - 10)
.innerRadius(PieDrawer.radius - 40);
PieDrawer.labelRadius = PieDrawer.radius - 15;
-PieDrawer.pie = d3.pie()
+PieDrawer.pie = d3.
layout.
pie()
.sort(null)
.value(function(d) { return d.frac; });
.sort(null)
.value(function(d) { return d.frac; });