JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
$(function () {
$('#container').highcharts({
title: {
text: 'Test',
},
xAxis: {
type: 'datetime',
},
yAxis: {
title: {
text: 'Temperature (°C)'
},
},
series: [{
name: 'Average Temp',
data: [
[1409346800000, 12],
[1409356800000, 15],
[1409367800000, 10]
]
}, ]
});
});