Highcharts Demo

author(s): Torstein Hønsi

by Dragos Zavadschi

HTML

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

<div id="container"></div>

CSS

#container {
    height: 300px;
    width: 275px;
}

JavaScript

Highcharts.chart('container', {
    "chart": {
        "borderColor": "#c0c0c0",
        "backgroundColor": "transparent",
        "borderWidth": 0,
        "plotborderWidth": 0,
        "animation": null,
        "zoomType": "",
        "events": {},
        "type": "area",
        "reflow": false,
        "style": {
            "fontFamily": "\"proxima_nova_rgregular\", Arial, sans-serif",
            "fontSize": "14px"
        }
    },
    "exporting": {
        "enabled": false
    },
    "credits": {
        "enabled": false
    },
    "legend": {
        "enabled": false
    },
    "xAxis": [
        {
            "drawHorizontalBorders": false,
            "labels": {
                "style": {
                    "color": "#666666",
                    "fontWeight": "normal",
                    "fontStyle": "normal",
                    "fontSize": "12px",
                    "fontFamily": "\"proxima_nova_rgregular\", Arial, sans-serif",
                    "textDecoration": "none",
                    "textOverflow": "ellipsis"
                },
                "enabled": true,
                "useHTML": false,
                "autoRotation": [
                    -30,
                    -45,
                    -60,
                    -75,
                    -90
                ],
                "autoRotationLimit": 90
            },
            "title": {
                "margin": 20,
                "style": {
                    "color": "#666",
                    "fontWeight": "bold",
                    "fontStyle": "normal",
                    "fontSize": "14px",
                    "textDecoration": "none",
                    "fontFamily": "\"proxima_nova_rgregular\", Arial, sans-serif",
                    "width": "213.60000000000002px",
                    "textOverflow": "ellipsis"
                },
                "text": null
            },
            "lineWidth": 1,
            "lineColor": "#ccd6eb",
           ...