This Line chart demonstrates how you can extract the Line chart's dataset and index from the variables that are set on the canvas tag by RGraph.
Dataset:<script src="RGraph.common.core.js"></script> <script src="RGraph.common.dynamc.js"></script> <script src="RGraph.line.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="400"> [No canvas support] </canvas>This is the code that generates the chart: