<script src="RGraph.common.core.js"></script> <script src="RGraph.common.dynamic.js"></script> <script src="RGraph.vprogress.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="100" height="400"> [No canvas support] </canvas>This is the code that generates the chart:
<script> new RGraph.VProgress({ id: 'cvs', min: 0, max: 100, value: '89', options: { gutterRight:35, textSize: 12, tickmarks: 100, numticks: 20, margin: 5 } }).grow().exec(function(obj, conf) { obj.canvas.onmousedown = function (e) { var value = obj.getValue(e); obj.value = value; obj.grow(); } }); </script>