JSFiddle - React, Tailwind, and code Playground

by jdmyers

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>
Sparkline
<p>
    <blockquote>
        <div id="container"></div>
    </blockquote>
</p>

JavaScript

$(document).ready(function() {
    var chart1 = new Highcharts.Chart({
        chart : {
            renderTo : 'container',
            height : 30,
            width : 150,
            margin : [0,0,0,0]
        },
        
        title: {
            text : ''
        },
        credits: {
            enabled : false
        },
        
        legend: {
            enabled : false
        },
        
        tooltip: {
            enabled : false
        },
        
        xAxis : {
            labels : {
                enabled : false
            }
        },

        yAxis : [{
                maxPadding : 0.1,
                minPadding : 0,
                endOnTick : false,
                min : 0,
                labels : {
                    enabled : false
                }
            }
         ],

        series : [{
            name : 'Latency',
            data : [[1338834957319, 112.98077], [1338835857319, 100.0], [1338836757319, 100.0], [1338837657319, 104.32692], [1338838557319, 121.63461], [1338839457319, 138.9423], [1338840357319, 151.92308], [1338841257319, 173.5577], [1338842157319, 203.84616], [1338843057319, 238.46155], [1338843957319, 286.05768], [1338844857319, 329.3269], [1338845757319, 385.5769], [1338846657319, 450.48077], [1338847557319, 541.3462], [1338848457319, 636.53845], [1338849357319, 727.4038], [1338850257319, 792.3077], [1338851157319, 839.9038], [1338852057319, 883.17303], [1338852957319, 917.78845], [1338853857319, 948.07697], [1338854757319, 961.0577], [1338855657319, 974.03845], [1338856557319, 991.3462], [1338857457319, 1000.0], [1338858357319, 1000.0], [1338859257319, 1000.0], [1338860157319, 1000.0], [1338861057319, 1000.0], [1338861957319, 1000.0], [1338862857319, 1000.0], [1338863757319, 1000.0], [1338864657319, 1000.0], [1338865557319, 1000.0], [1338866457319, 1000.0], [1338867357319, 1000.0], [1338868257319, 1000.0], [1338869157319, 1000.0], [1338870057319, 995.67303], [1338870957319, 978.3654],...