Rose chart Explode effect

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.rose.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="350" height="350">
    [No canvas support]
This is the code that generates the chart:
    window.onload = function ()
        var rose = new RGraph.Rose({
            id: 'cvs',
            data: [4,8,6,4,3,5,2],
            options: {
                textAccessible: true
          .on('beforedraw', function (obj)
              RGraph.clear(obj.canvas, 'white');

Share on Facebook Share on Twitter

« Back