<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <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="300" height="250"> [No canvas support] </canvas>This is the code that generates the chart:
<script> window.onload = function () { var l1 = new RGraph.Line({ id: 'cvs', data: [ [23,20,12,43,11,41,34,56,31,39,15,56], [15,9,39,29,37,23,42,32,45,11,30,45] ], options: { gutterLeft: 5, gutterRight: 5, gutterTop: 5, gutterBottom: 5, backgroundGridVlines: false, linewidth: 5, hmargin: 3, axisLinewidth: 5, numxticks: 0, numyticks: 0, colors: ['#F60091','#00ACDE'], filled: true, filledAccumulative: true, fillstyle: ['rgba(255,200,200,0.5)','rgba(200,200,255,0.5)'], ylabels: false } }).trace({frames: 60}); }; </script>