From 6205ff5f0099dd835af73ce4e349b67c39bc2f12 Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Sat, 4 Aug 2018 15:07:01 +0800 Subject: [PATCH] =?utf8?q?pie=5Fgraphs:=20Mise=20=C3=A0=20jour=20pour=20l'?= =?utf8?q?API=20de=20d3=20v5.5.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- assets/pie_graphs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/pie_graphs.js b/assets/pie_graphs.js index e607fa5..4fb9f51 100644 --- 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.arc = d3.svg.arc() +PieDrawer.arc = d3.arc() .outerRadius(PieDrawer.radius - 10) .innerRadius(PieDrawer.radius - 40); PieDrawer.labelRadius = PieDrawer.radius - 15; -PieDrawer.pie = d3.layout.pie() +PieDrawer.pie = d3.pie() .sort(null) .value(function(d) { return d.frac; }); -- 2.39.5