A Horseshoe meter

Summary: This was previously a Pie chart variation but RGraph now has a dedicated RGraph.Horseshoe chart object

[No canvas support]

As mentioned above , this was previously a variant on of the Pie chart. Now, however, its been converted to a full chart type - the Horseshoe meter.

It's a small, circular meter-type chart type. In previous incarnations a large amount of code was necessary to create this chart - then less so as a Pie chart variant and now there's similarly only a small amount of code that's necessary to create it. As a full chart type it also supports a better style of grow effect - so now if the meter is already showing a value and you set a new one and grow to it - instead of always growing from the minimum value the meter will grow from it's current value. This is shown on the example here.

The chart is a simple circular meter which has a circle at either end. These circles can be disabled if you wish. The colors of the chart and of the label can also be changed.

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.horseshoe.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="300" height="300">[No canvas support]</canvas>
This is the code that generates the chart: