JSFiddle - React, Tailwind, and code Playground

by sbochan

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({
        xAxis:{
            type:'datetime'
        },
        series: [{
            "name": "Server1",
            "data": [
                [1406284185600, 0.092],
                [1406285985600, 0.092],
                [1406287785600, 0.091],
                [1406289585600, 0.093],
                [1406291385600, 0.091],
                [1406293185600, 0.09],
                [1406294985600, 0.093],
                [1406296785600, 0.094],
                [1406298585600, 0.092],
                [1406300385600, 0.09],
                [1406302185600, 0.094]
            ]
        }, {
            "name": "Server2",
            "data": [
                [1406354385600, 0.01],
                [1406356185600, 0.009],
                [1406357985600, 0.009],
                [1406359785600, 0.009],
                [1406361585600, 0.009],
                [1406363385600, 0.009],
                [1406365185600, 0.009],
                [1406366985600, 0.009],
                [1406370585600, 0.01],
                [1406372385600, 0.009],
                [1406374185600, 0.009],
                [1406375985600, 0.009],
                [1406379585600, 0.009],
                [1406381385600, 0.009],
                [1406383185600, 0.009],
                [1406384985600, 0.009],
                [1406388585600, 0.009],
                [1406390385600, 0.009],
                [1406392185600, 0.01],
                [1406393985600, 0.009],
                [1406397585600, 0.009],
                [1406399385600, 0.009],
                [1406401185600, 0.009],
                [1406402985600, 0.009],
                [1406406585600, 0.009],
                [1406408385600, 0.009],
                [1406489385600, 0.009],
                [1406491185600, 0.009],
                [1406492985600, 0.009],
                [1406494785600, 0.009],
                [1406496585600, 0.009],
                [1406498385600, 0.009],
               ...