JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://people.iola.dk/olau/flot/jquery.flot.js"></script>
<div id="placeholder" style="width:600px;height:300px;"></div>
JavaScript
var data = [[-373597200000, 315.71], [-370918800000, 317.45], [-368326800000, 317.50], [-99968400000, 319.79]];
$.plot($("#placeholder"), data, {
yaxis: {
},
xaxis: {
mode: "time",
tickSize: [1, "hour"],
min: (new Date("2000/01/01")).getTime(),
max: (new Date("2000/01/02")).getTime()
},
"lines": {"show": "true"},
"points": {"show": "true"},
clickable:true,hoverable: true
});