Highcharts Demo

author(s): Torstein Hønsi

HTML

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

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

JavaScript

$(function () {
    var chart = new Highcharts.Chart({
        chart: {
            renderTo: 'container'
        },
        xAxis: {
            categories: ['1. Jan','2. Jan','3. Jan','4. Jan','5. Jan','6. Jan','7. Jan','8. Jan','9. Jan','10. Jan','11. Jan','12. Jan'],
                  min: 0,
                  max: 10,
                  tickmarkPlacement: 'on',
                  title: {
                      enabled: false
                  }
        },
        scrollbar:{ 
            enabled: true
        },
        series: [{
            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]
        },{
            showInLegend: false,
            data: [129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 12, 14,45]
        },{
            showInLegend: false,
            data: [106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 12, 22]
        },{
            showInLegend: false,
            data: [ 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 12]
        }]
    });
});