Highcharts Demo

author(s): Torstein Hønsi

HTML

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

JavaScript

$(function () {
    $('#container').highcharts({
      "chart": {
        "renderTo": "chart_0",
        "type": "column",
        "width": 500
      },
      "title": {
        "text": "Hit Rate over Time",
        "align": "center"
      },
      "subtitle": {
        "text": ""
      },
      "xAxis": {
        "categories": [
          "09/2019",
          "08/2019",
          "07/2019",
          "06/2019",
          "05/2019",
          "04/2019",
          "01/2019",
          "12/2018"
        ],
        "title": {
          "text": null
        },
        "tickInterval": 1
      },
      "yAxis": {
        "min": 0,
        "categories": [],
        "title": {
          "text": "Hit Rate"
        },
        "stackLabels": {
          "enabled": false
        },
        "labels": {
          "overflow": "justify"
        },
        "tickInterval":0.1
      },
      "plotOptions": {
        "bar": {
          "dataLabels": {
            "enabled": true
          }
        }
      },
      "credits": {
        "enabled": false
      },
      "series": [
        {
          "name": "Hit Rate",
          "data": [
            0.12448132780082988,
            0.11548556430446194,
            0.13958810068649885,
            0.13529411764705881,
            0.03007518796992481,
            0.05714285714285714,
            0.05714285714285714,
            0
          ],
          "color": "#034efc"
        }
      ],
      "tooltip": {}
    })});