A Scatter chart with a connecting line

This is an example of a Scatter chart that has been configured to use a connecting line. The chart shows how you can use datetime values as the X coordinate instead of a number if you want to.

This goes in the documents header:
<script src="RGraph.svg.common.core.js"></script>
<script src="RGraph.svg.scatter.js"></script>
Put this where you want the chart to show up:
<div style="width: 700px; height: 250px" id="chart-container"></div>
This is the code that generates the chart: