A dual dataset Waterfall chart

[No canvas support]

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

    new RGraph.Waterfall({
        id: 'cvs',
        data: [10,10,5,-2,-15,6,-5],
        options: {
            hmargin: 30,
            barOffsetx: -17,
            yaxisScaleMax: yaxisScaleMax,
            xaxisLabels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday','Total'],
            yaxis: false,
            backgroundGridVlines: false,
            backgroundGridBorder: false
        }
    }).draw();

    new RGraph.Waterfall({
        id: 'cvs',
        data: [4,8,6,3,5,4,2],
        options: {
            backgroundGrid: false,
            axes: false,
            hmargin: 30,
            barOffsetx: 17,
            yaxisLabels: false,
            yaxisScaleMax: yaxisScaleMax,
            yaxis: false
        }
    }).draw();
</script>