A Scatter chart with an offset X axis

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.scatter.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="200">
    [No canvas support]
</canvas>
This is the code that generates the chart:
<script>
    new RGraph.Scatter({
        id: 'cvs',
        data: [[15,11], [40,25],[38,23],[312,12],[160,15], [365, 8], [365, -8]],
        options: {
            backgroundGridHlinesCount: 4,
            backgroundGridVlines: false,
            backgroundGridBorder: false,
            yaxisLabelsCount: 4,
            colorsDefault: 'red',
            tickmarksStyle: 'circle',
            tickmarksSize: 5,
            marginLeft: 25,
            xaxisScaleMax: 365,
            xaxisLabels: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],
            yaxisScaleMin: -15,
            yaxisScaleMax: 45,
            yaxisTickmarksCount: 4
        }
    }).draw();
</script>