JSFiddle - React, Tailwind, and code Playground
HTML
<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 () {
$.ajax({
//url: '/Chart/CandleStickAndVolume2',
url: 'http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-ohlcv.json&callback=?',
type: 'GET',
dataType: 'json',
/*contentType: 'application/json; charset=utf-8',*/
success: function (data) {
// split the data set into ohlc and volume
var ohlc = [],
volume = [];
...