Highcharts Demo

author(s): Torstein Hønsi

HTML

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

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

JavaScript

$(function () {
    $('#container').highcharts({
        xAxis: {
            plotLines : [{
                value : 6,
                color : 'green',
                width : 2,
                label : {
                    text : 'Plot line on x-axis'
                }
            }]
        },
        
        series: [{
            data: [
                106.4, 129.2, 144.0, 
                {
                    y: 71.5, 
                    dataLabels: { 
                        enabled: true, 
                        format: 'Data label on point' 
                    } 
                }, 
                176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
        }]
    });
});