Highcharts Demo

author(s): Torstein Hønsi

by Jens Kühn

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/series-label.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>

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

CSS

#container {
  min-width: 310px;
  max-width: 800px;
  height: 400px;
  margin: 0 auto
}

JavaScript

Highcharts.chart('container', {
  "chart": {
    "height": 50,
    "type": "line"
  },
  "legend": {
    "enabled": false
  },
  "title": {
    "text": null
  },
  "tooltip": {
    "enabled": true
  },
  "plotOptions": {
    "area": {
      "marker": {
        "enabled": false
      }
    },
    "line": {
      "marker": {
        "enabled": false
      }
    },
    "column": {
      "marker": {
        "enabled": false
      }
    }
  }
}, "series": [{
  "data": [494, 163093, 293022, 126764, 190, 160, 46350, 361648, 684499, 361027, 212195, 256134],
  "id": "series-1"
}], "xAxis": {
  "lineWidth": 0,
  "minorGridLineWidth": 0,
  "lineColor": "transparent",
  "labels": {
    "enabled": false
  },
  "minorTickLength": 0,
  "tickLength": 0
}, "yAxis": {
  "lineWidth": 0,
  "minorGridLineWidth": 0,
  "lineColor": "transparent",
  "gridLineColor": "transparent",
  "labels": {
    "enabled": false
  },
  "title": {
    "text": null
  },
  "minorTickLength": 0,
  "tickLength": 0
}

});