JSFiddle - React, Tailwind, and code Playground
HTML
<script type="text/javascript" src="http://www.highcharts.com/js/testing.js"></script>
<div id="container" style="height: 300px"></div>
JavaScript
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
type: 'bar'
},
yAxis: {
stackLabels: {
style: {
color: 'white'
},
enabled: true,
verticalAlign: 'middle',
align: 'left'
}
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May']
},
plotOptions: {
bar: {
shadow: false,
pointPadding: 0.0
}
},
series: [{
stacking: 'normal',
data: [29.9, 71.5, 106.4, 129.2, 144.0]
}]
});