Highcharts Demo

author(s): Torstein Hønsi

by BenjaminRay

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>
Extra space is between the new title and the chart.
<div id="title" style="font-size: 18px; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Helvetica, sans-serif; text-align: center;">Y axis floor is 0</div>
<div id="container" style="height: 300px; margin-top: 50px;"></div>

CSS

g {
    margin-top: 510px !important;
}

JavaScript

$(function () {
    $('#container').highcharts({
        chart: {
            type: 'column'
        },
        title: '',
        xAxis: {
            categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
        },

        yAxis: {
            floor: 0,
            ceiling: 100,
            title: {
                text: 'Percentage'
            }
        },

        series: [{
            data: [0, 1, 0, 2, 3, 5, 8, 5, 15, 14, 25, 100]
        }]
    });
});