JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://github.highcharts.com/master/highcharts.src.js"></script>
<script type="text/javascript" src="http://www.highcharts.com/js/testing-stock-exporting.js"></script>


<div id="container" style="height: 500px; min-width: 500px"></div>

JavaScript

$(function() {
    $.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-ohlcv.json&callback=?', function(data) {

        // split the data set into ohlc and volume
        var ohlc = [],
            volume = [],         
            dataLength = data.length;
        for (i = 0; i < dataLength; i++) {
            ohlc.push([
                data[i][0], // the date
                data[i][1], // open
                data[i][2], // high
                data[i][3], // low
                data[i][4] // close
            ]);           
           
            volume.push([
                data[i][0], // the date
                data[i][5] // the volume
            ])                  
        }
        // create the chart
        chart = new Highcharts.StockChart({
            chart: {
                renderTo: 'container',
                alignTicks: false
            },  
            title: {
                text: 'Test'
            },
            xAxis: [{          
                type: 'datetime',
                title: {
                    text: null
                },           
                tickLength: 0,
                labels: {
                    staggerLines: 1,
                    y: -115,
                    style: {
                        fontFamily: 'Meiryo',
                        fontSize: '18px',
                        color: '#FF0000'
                    }
                },                
                gridLineWidth:1,      
                ordinal: false
            }],
            yAxis: [{
                title: {
                    text: 'Main'
                },
                height: 200,
                lineWidth: 2
            }, {
                title: {
                    text: 'Volume'
                },
                top: 300,
                height: 100,
                offset: 0,
                lineWidth: 2
            }],            
            series: [{
                type: 'line',
        ...