JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.highcharts.com/stock/highstock.js"></script>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>asd</title>
</head>
<body>
<div id="container" style="width: 500px; height: 300px; margin: 0 auto"></div>
</body>
</html>
JavaScript
chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
defaultSeriesType: 'column',
},
legend: {
enabled: true,
},
tooltip: {
shared: true,
},
xAxis: {
categories: [1376517600,1376604000,1376690400,1376776800,1376863200,1376949600,1377036000,1377122400,1377208800,1377295200,1377381600,1377468000,1377554400,1377640800,1377727200]
},
yAxis: {
title: {
text: 'Gross Profit in USD',
},
},
plotOptions: {
series: {
marker: {
enabled: false,
},
states: {
hover: {
enabled: false
}
},
stacking: 'normal'
},
},
series: [{
name: 'Company A',
data: [44248.19140625,53967.8984375,53609.98828125,50176.3515625,45106.4609375,44992.8515625,34318.41015625,32240.3125,38978.51953125,43063.859375,48637.46875,35101.8515625,33271.34375,null,null],
}]
});