A Bar chart showing new car registrations in the UK, 2010-2016

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.common.key.js"></script>
<script src="RGraph.bar.js"></script>
Put this where you want the chart to show up:
<div style="display: inline-block; margin: 35px">
    <canvas id="cvs" width="600" height="300">[No canvas support]</canvas>
</div>
This is the code that generates the chart:
<script>
    new RGraph.Bar({
        id: 'cvs',
        data: [
            [1075000,910000,10000],
            [900000,980000,15000],
            [970000,1050000,30000],
            [1100000,1120000,40000],
            [1190000,1230000,50000],
            [1270000,1260000,70000],
            [1300000,1150000,75000]
        ],
        options: {
            gutterLeft: 100,
            colors: ['#024E4E','#009997','#9ECECD'],
            labels: ['2010','2011','2012','2013','2014','2015','2016'],
            noaxes: true,
            backgroundGridVlines: false,
            ylabelsCount: 7,
            ymax: 1400000,
            key: ['Petrol','Diesal','All AFVs'],
            keyPosition: 'gutter',
            keyTextSize: 14,
            keyPositionX: 100,
            title: 'New car registrations in the UK, 2010-2016',
            titleX: 100,
            titleY: '-5',
            titleHalign: 'left',
            backgroundGridAutofitNumhlines: 7
        }
    }).draw();
</script>