Highcharts Demo

author(s): Torstein Hønsi

by Fusher

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>

<div id="container" style="height: 400px"></div>

JavaScript

$(function() {
    var chart = new Highcharts.Chart({
        chart: {
            renderTo: 'container',
            type: 'column'
        },
        xAxis: {
            type: 'datetime',
            tickInterval: 3600 * 1000
        },
        plotOptions: {
            series: {
                pointStart: Date.UTC(2010, 0, 1, 11, 0),
                pointInterval: 3600 * 1000,
                pointPadding: 0.1,
                groupPadding: -0.6,
                borderWidth: 0,
                shadow: false
            },
            column: {
                pointWidth: 24
            }
        },

        series: [{
            data: [null],
            showInLegend: false,
            },
        {
            data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, null]}
                    ]
    });
});