Highcharts Demo

author(s): Torstein Hønsi

by epoch

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 400px"></div>

JavaScript

$(function () {
    $('#container').highcharts({
        "chart": {
            "polar": false,
                "zoomType": "x",
                "defaultSeriesType": "spline",
                "renderTo": "container"
        },
        "legend": {
            "itemStyle": {
                "width": "150px"
            },
            "enabled": true,
            "align": "center",
            "layout": "horizontal",
            "verticalAlign": "bottom",
            "x": -10,
            "y": 15
        },
        "plotOptions": {
            "spline": {
                "dataLabels": {
                    "enabled": true,
                    "align": "center",
                    "rotation": 0.0
                },
                "borderWidth": 0
            }
        },
        "series": [{
            "data": [{
                "y": 3.0
            }, {
                "y": 0.0
            }, {
                "y": 1.0
            }, {
                "y": 0.0
            }, {
                "y": 1.0
            }],
            "name": "Assign Investigator"
        }, {
            "data": [{
                "y": 12.0
            }, {
                "y": 6.0
            }, {
                "y": 35.0
            }, {
                "y": 16.0
            }, {
                "y": 37.0
            }],
            "name": "New Incident"
        }, {
            "data": [{
                "y": 0.0
            }, {
                "y": 0.0
            }, {
                "y": 0.0
            }, {
                "y": 5.0
            }, {
                "y": 0.0
            }],
            "name": "Incident Logged"
        }, {
            "data": [{
                "y": 55.0
            }, {
                "y": 3.0
            }, {
                "y": 25.0
            }, {
                "y": 9.0
            }, {
                "y": 25.0
            }],
            "name": "None"
        }],
            "title": {
            "text": "Graph Title"
        },
...