This is a demo of an SVG Gauge chart using a single scale.
This goes in the documents header:<script src="RGraph.svg.common.core.js"></script> <script src="RGraph.svg.gauge.js"></script>Put this where you want the chart to show up:
<div style="width: 300px; height: 300px" id="chart-container"></div>This is the code that generates the chart:
<script> new RGraph.SVG.Gauge({ id: 'chart-container', innerMax:100, innerMin:0, outerMin:0, outerMax:100, value: 78, options: { labelsIngraphUnitsPost: '%', labelsIngraphSize: '16', labelsIngraphBold: true, scaleOuter: false } }).draw(); </script>