<script src="RGraph.common.core.js"></script> <script src="RGraph.line.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 line = new RGraph.Line({ id: 'cvs', data: [5,4,1,6,null,null,null], options: { labels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'], colors: ['black'], title: 'A dual color line chart', tickmarks: 'filledcircle', ticksize: 5, shadow: false, gutterTop: 35, gutterRight: 30, gutterLeft: 30, textAccessible: true } }).draw(); var line2 = new RGraph.Line({ id: 'cvs', data: [null,null,null,6,5,4,3], options: { colors: ['red'], tickmarks: 'filledcircle', ticksize: 5, shadow: false, backgroundGrid: false, noaxes: true, gutterTop: 35, gutterRight: 30, gutterLeft: 30, textAccessible: true } }).draw(); }; </script>