# Things to release at a wedding

This goes in the documents header:

    <script src="RGraph.common.core.js"></script>
    <script src="RGraph.bar.js"></script>

Put this where you want the chart to show up:

    <canvas id="cvs" width="600" height="250">
        [No canvas support]
    </canvas>

This is the code that generates the chart:

    <script>
        window.onload = function ()
        {
            var bar = new RGraph.Bar({
                id: 'cvs',
                data: [50,40,10,-25,-50,50],
                options: {                        colors: ['black'],
                    ylabelsSpecific: ['Very cool', '','','','','','','','','','','','','','','','','','','','', '','','','','','','','','','','','','','','','','','','','','Uncool'],
                    gutterLeft: 100,
                    gutterBottom: 135,
                    variant: 'sketch',
                    variantSketchVerticals: false,
                    textFont: 'Comic sans MS',
                    textSize: 16,
                    linewidth: 1.25,
                    backgroundGrid: false,
                    labelsAbove: true,
                    labelsAboveSpecific: ['Butterflies', 'Doves', 'Pidgeons', 'Wasps', 'Prisoners', 'The Kraken'],
                    textAccessible: true
                }
            }).draw();
        };
    </script>