# An SVG Bipolar chart using the wave effect

A Bipolar chart using the wave effect, a title and a subtitle.

This goes in the documents header:

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

Put this where you want the chart to show up:

    <div style="padding: 15px">
        <div style="width: 600px; height: 500px" id="chart-container"></div>
    </div>

This is the code that generates the chart:

    <script>
        new RGraph.SVG.Bipolar({
            id: 'cc',
            left: [4,9,5,6,3],
            right: [8,6,3,6,9],
            options: {
                yaxisLabels: ['Alex','Richard','Knell','Scott','Nick'],
                grouping: 'grouped',
                vmargin: 10,
                title: 'An SVG Bipolar chart using the wave effect',
                titleSubtitle: 'A subtitle to go along with the title',
                gutterTop: 50
            }
        }).wave();
    </script>