JSFiddle - React, Tailwind, and code Playground
by valk
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 300px"></div>
JavaScript
$(function () {
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container'
},
plotOptions: {
series: {
//connectNulls: false
}
},
xAxis: {
type: 'datetime',
tickInterval: 5 * 60 * 1000
},
series: [ {
color: '#f330',
showInLegend: true,
data: [
[
1415780000000,
0.5139999985694885]]
},
{
data: [
[
1415787315200,
0.5139999985694885],
[
1415787577344,
0.5199999809265137],
[
1415787839488,
0.5590000152587891],
[
1415788494848,
0.5139999985694885],
[
1415788756992,
0.5809999704360962],
[
1415789150208,
0.5239999890327454],
[
1415789412352,
0.5400000214576721],
[
1415789674496,
0.5149999856948853],
[
1415789936640,
0.5619999766349792]
]
}]
});
});