SLA - Data 1

by Mabuti

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: 310px; height: 400px; margin: 0 auto"></div>

JavaScript

$(function () {
    $('#container').highcharts({
        title: {
            text: 'SLA Chart'
        },
        xAxis: {
            categories: ['Helpdesk', 'Desktop', 'Server', 'Network', 'MPS']
        },
        series: [{
            type: 'column',
            name: 'SLA Met',
            data: [174,40,1,7,19]
        }, {
            type: 'column',
            name: 'Not Breached',
            data: [3,25,4,0,29]
        }, {
            type: 'column',
            name: 'Breached',
            data: [2,0,0,0]
        }, {
            type: 'spline',
            name: 'Total Tickets',
            data: [179,65,5,7,48],
            marker: {
                lineWidth: 2,
                lineColor: Highcharts.getOptions().colors[3],
                fillColor: 'white'
            }
        }]
    });
});