JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.highcharts.com/stock/1.1.6/highstock.js"></script>
<div id="container" style="height: 400px; min-width: 500px"></div>
JavaScript
$.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-c.json&callback=?', function(data) {
// create the chart
chart = new Highcharts.StockChart({
chart: {
marginLeft: 150,
renderTo: 'container',
style:{
cursor:'pointer'
},
zoomType:'x'
},
rangeSelector:{
selected:1
},
series: [{
id: 'main',
data: data
}]
});
});