]> nos-oignons.net Git - website.git/blob - assets/services-pie.js
Mise à jour des traductios
[website.git] / assets / services-pie.js
1 var content = d3.select("#content");
2 var consensus_figure = content.append("figure")
3   .attr('class', 'graph graph-consensus')
4 consensus_figure.append("span")
5   .attr("id", "consensus-pie");
6 consensus_figure.append("figcaption")
7   .text(L10n.consensus_weight);
8
9 var exit_figure = content.append("figure")
10   .attr('class', 'graph graph-exit')
11 exit_figure.append("span")
12   .attr("id", "exit-pie");
13 exit_figure.append("figcaption")
14   .text(L10n.exit_probability);
15
16 content.append("div")
17   .style("clear", "left");
18
19 new ConsensusPieDrawer("#consensus-pie").draw();
20 new ExitPieDrawer("#exit-pie").draw();