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"></div>
JavaScript
jQuery(function() {
// Create the chart
$.getJSON('http://sync.edistrigame.com/admin/kingdomquest-fb/test_bad.json?callback=?', function(data) {
window.chart = new Highcharts.StockChart({
chart: {
renderTo: 'container'
},
rangeSelector: {
selected: 1
},
title: {
text: 'test'
},
xAxis: {
maxZoom: 60
},
yAxis: {
title: {
text: 'titre'
}
},
series: {
name: 'nom serie',
data: data
}
});
});
});