Source

mustachebox / mustachebox / templates / mustachebox / tags / pie_chart.html

Full commit
1
2
3
4
5
6
7
8
9
<script type="text/javascript"
    src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
  var piedata = {% autoescape off %}{{object.data}}{% endautoescape %}
  var chart = google.visualization.PieChart
</script>
<script type="text/javascript" src="{{STATIC_URL}}js/pie_chart.js"></script>

<div id="piechart_div" style="width: 300px; height: 300px;"></div>