A Bipolar chart using two different colors

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.bipolar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="350">
    [No canvas support]
</canvas>
This is the code that generates the chart:
<script>
    data = [
        [4,9,8,5,6,3,4],
        [8,6,5,7,8,9,9]
    ];

    new RGraph.Bipolar({
        id: 'cvs',
        left: data[0],
        right: data[1],
        options: {
            axes: false,
            colors: [
                'Gradient(red:white:red)',
                'Gradient(black:white:black)'
            ],
            yaxisLabels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday']
        }
    }).grow();
</script>