A SemiCircular Progress chart with tooltips
This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.common.dynamic.js"></script>
<script src="RGraph.common.tooltips.js"></script>
<script src="RGraph.semicircularprogress.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="300" height="200">
[No canvas support]
</canvas>
This is the code that generates the chart:
<script>
new RGraph.SemiCircularProgress ({
id: 'cvs',
min: 0,
max: 20,
value: 12,
options: {
tooltips: ['Hurrah!'],
scaleDecimals: 1,
unitsPost: 'Kg',
labelsCenterSize: 30
}
}).draw();
</script>
« Back