A Bipolar chart using the wave()
effect, has a title and also has a subtitle.
<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', marginInner: 10, title: 'An SVG Bipolar chart using the wave() effect', titleSubtitle: 'A subtitle to go along with the title', marginTop: 50 } }).wave(); </script>