A customised Pie chart
This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.common.tooltips.js"></script>
<script src="RGraph.common.dynamic.js"></script>
<script src="RGraph.pie.js"></script>
Put this where you want the chart to show up:
<div style="margin-left: 50px">
<canvas id="cvs" width="550" height="250">[No canvas support]</canvas>
<div>
This is the code that generates the chart - it should be placed AFTER the canvas tag(s):