A simple Line chart which is showing multiple datasets.
This goes in the documents header:<script src="RGraph.svg.common.core.js"></script> <script src="RGraph.svg.line.js"></script>Put this where you want the chart to show up:
<div style="width: 750px; height: 300px" id="chart-container"></div>This is the code that generates the chart:
<script> new RGraph.SVG.Line({ id: 'chart-container', data: [ [19,165,132,111,185,149,199], [48,46,51,94,84,25,65], [35,26,15,23,43,12,26] ], options: { linewidth: 3, gutterLeft: 50, gutterBottom: 50, xaxisLabels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'], title: 'A line chart with multiple lines' } }).draw(); </script>