JSFiddle - React, Tailwind, and code Playground
by minagabriel
HTML
<script src="http://code.highcharts.com/stock/highstock.js"></script>
<script src="http://code.highcharts.com/stock/modules/exporting.js"></script>
<div id="container" style="height: 700px; min-width: 500px"></div>
JavaScript
$(function() {
chart = new Highcharts.StockChart({
chart: {
renderTo: 'container',
alignTicks: false
},
rangeSelector: {
selected: 1
},
title: {
text: 'AAPL Historical'
},
yAxis: [{
title: {
text: 'RBWQCR '
},
height:100,
lineWidth: 2
}, {
title: {
text: 'JPXZTO'
},
top: 200,
height: 100,
offset: 0,
lineWidth: 2
} , {
title: {
text: 'CXRCTO'
},
top: 320,
height: 100,
offset: 0,
lineWidth: 2
} ,{
title: {
text: 'FLOPAP '
},
top: 450,
height: 100,
offset: 0,
lineWidth: 2
} ,
],
series: [{
type: 'column',
data :[[1324512000000 ,81]]
}, {
type: 'column',
yAxis: 1,
data:[[1324512000000 ,91]]
}, {
type: 'column',
yAxis: 2,
data: [[1324512000000 ,41]]
}, {
type: 'column',
yAxis:3,
data :[[1324512000000 ,51]]
}]
});
});