This is a demo of a Line chart that shows a constantly updating Line chart. It updates every 50 milliseconds with new data. There's only one Line chart object and its data is updated (new data added and the last data-piece removed from the datasets) every 50 milliseconds. If you want to change the delay then open the console (CTRL+SHIFT+J in Chrome) and enter: DELAY = 20
and press enter.
<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: