A nested Donut chart
This is an example of the new (in version 5.28)
(You can read the documentation page for the Activity meter here.
Previously to get this sort of chart a large amount of custom code was necessary but now
the chart has been given its own class - which is in the
The colors and quantity of the rings are specified by you and the icons are configurable (or can be
replaced with text if you prefer. The chart can be animated using the
grow effect, adjusted and can now also have tooltips.
<script src="RGraph.common.core.js"></script> <script src="RGraph.activity.js"></script>Put this where you want the chart to show up:
<div style="float: right; display: inline-block"> <canvas id="cvs" width="450" height="450" style="background-color: black;">[No canvas support]</canvas> </div>This is the code that generates the chart - it should be placed AFTER the