frontCharts

by SnakeFox

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto;background-color: #E8E8E8;"></div>

JavaScript

$(function () {
    var chart;
    $(document).ready(function() {
        chart = new Highcharts.Chart({
            chart: {
                renderTo: 'container',
                type: 'bar',
                backgroundColor:"#E8E8E8"
            },
            showAxes: false,
            reversed: false,
            xAxis: {
                categories: ['Clinical Action', 'Documentation', 'Contraindicated', 'Other', 'Uncategorized'],
                title: {
                    text: null
                },
                gridLineWidth:1
            },
            yAxis: {
                min: 0,
                gridLineWidth:0,
                title: {
                    text: null,
                    align: 'high'
                },
                labels:{
                enabled: false     
                }
            },
            tooltip: {
                formatter: function() {
                    return ''+ this.series.name +': '+ this.y +' millions';
                }
            },
            plotOptions: {
                bar: {
                    dataLabels: {
                        enabled: true
                    }
                }
            },
            credits: {
                enabled: false

            },
            title:{
                      text: null
            },          
            series: [{
                name: '',
                data: [107, 31, 635, 203, 25]
            }],
            exporting:{
                  enabled:false          
               }
        });
    });
});