Another Meter chart
This goes in the documents header:
<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>
new RGraph.Meter({
id: 'cvs',
min: 50,
max: 100,
value:60,
options: {
scaleUnitsPost: 'k',
colorsRedStart: 85,
colorsRedEnd: 100,
colorsYellowStart: 65,
colorsYellowEnd: 85,
colorsGreenStart: 50,
colorsGreenEnd: 65
}
}).draw();
</script>