Highcharts test tool

by Black Label

HTML

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

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

CSS

#container {
  min-width: 300px;
  max-width: 800px;
  height: 300px;
  margin: 1em auto;
}

JavaScript

Highcharts.chart('container', {
  chart: {
    type: 'area'
  },
  plotOptions: {
    area: {
    	connectNulls: true,
      stacking: 'percent',
    }
  },
  series: [{
    name: 'a',
    data: [502, 635, 809, 947, 1402, null, 5268]
  }, {
    name: 'b',
    data: [106, 107, 111, 999, 221, null, 1766]
  }, {
    name: 'c',
    data: [163, 203, 276, 408, 547, null, 628]
  }]
});