An SVG Bar chart with a canvas background

This is an interesting mix - it's a regular SVG Bar chart that has been arranged to have a canvas background. Then a star-burst pattern is drawn on the canvas and is continually updated giving it a slow rotation effect. The Bar chart uses the wave() effect and and has the labelsAbove option enabled. However the position of the labels has been adjusted using the labelsAboveOffsety option so that the text appears at the top of the bars - and also it has been colored white so that you can see it.

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.svg.common.core.js"></script>
<script src="RGraph.svg.common.tooltips.js"></script>
<script src=""></script>
Put this where you want the chart to show up:
<div id="outer" style="padding: 15px; display: inline-block">
    <canvas width="750" height="300" id="cvs_background"></canvas>
    <div style="width: 750px; height: 300px" id="cc"></div>

    div#outer {
        position: relative;
    div#outer canvas {
        position: absolute;
        top: 50px;
        left: 50px;
        width: 680px;
        height: 230px;
This is the code that generates the chart:
    color1    = 'white';
    color2    = 'rgba(64,64,64,0.15)';
    increment = 0.0005;
    radius    = 500; // The gradient radius

    ca    = document.getElementById('cvs_background'),
    co    = ca.getContext('2d');
    cx    = ca.width / 2,
    cy    = ca.height / 2,
    angle = 0

    // This draws the rotating background on the canvas
    function draw ()

        co.translate(cx * -1,cy * -1);
        // Keep a record of what the angle is
        angle += increment;
        for (var i=0; i<6.28; i+=(6.28 / 15)) {

            var endpoint1 = RGraph.getRadiusEndPoint(cx, cy, i - 0.1, 10000 * angle * 4);
            var endpoint2 = RGraph.getRadiusEndPoint(cx, cy, i + 0.1, 10000 * angle * 4);
                co.fillStyle = color2;
        // Draw a circular gradient from the center outwards
        var grad = co.createRadialGradient(cx, cy, 0, cx, cy, radius);
            grad.addColorStop(0, 'white');
            grad.addColorStop(0.25, 'rgba(255,255,255,0.75)');
            grad.addColorStop(0.5, 'rgba(255,255,255,0)');
        co.fillStyle = grad;
        RGraph.path2(co, 'b a % % % % % % f',cx, cy,1000,0,2 * Math.PI,-1);

        setTimeout(draw, 25);
    new RGraph.SVG.Bar({
        id: 'cc',
        data: [4,8,6,5,3,7,8],
        options: {
            backgroundGrid: false,
            colors: ['black'],
            labelsAbove: true,
            labelsAboveUnitsPost: 'km',
            labelsAboveOffsety: 30,
            labelsAboveColor: 'white',
            labelsAboveBold: true,
            labelsAboveItalic: true,
            hmargin: 15,
            xaxisLabels: ['Monday','Tuesday','Wednesday','Thuesday','Friday','Saturday','Sunday'],
            tooltips: ['Monday','Tuesday','Wednesday','Thuesday','Friday','Saturday','Sunday']