diff --git a/src/templates/doughnut-chart.html b/src/templates/doughnut-chart.html index 32e3bdb..edbc0fa 100644 --- a/src/templates/doughnut-chart.html +++ b/src/templates/doughnut-chart.html @@ -13,21 +13,23 @@ $(function () { var data = []; {% for option, value in chart_data.items %} - color = colors.shift(); - data.push( - { - value: {{ value }}, - color: color, - highlight: chroma(color).darken().hex(), - label: "{{ option }}" - } - ); - description.append($('