<script src="RGraph.common.core.js"></script> <script src="RGraph.meter.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="300"> [No canvas support] </canvas>This is the code that generates the chart:
<script> window.onload = function () { var meter = new RGraph.Meter({ id: 'cvs', min: 50, max: 100, value:60, options: { unitsPost: 'k', redStart: 85, redEnd: 100, yellowStart: 65, yellowEnd: 85, greenStart: 50, greenEnd: 65, textAccessible: false } }).draw(); }; </script>