Generic slideOut effect

This effect requires jQuery

[No canvas support]

This goes in the documents header:
<script src=""></script>
<script src="RGraph.common.core.js"></script>
<script src="RGraph.common.effects.js"></script>
<script src=""></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="700" height="250">
    [No canvas support]
This is the code that generates the chart:
    window.onload = function ()
        var data = [4,8,6,3,1,2,5];

        var bar = new RGraph.Bar({
            id: 'cvs',
            data: data,
            options: {
                labels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],
                textAccessible: false
          .slideOut({to: 'right'});

Share on Facebook Share on Twitter

« Back