JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="http://code.highcharts.com/modules/data.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="width: 600px; height: 400px; margin: 0 auto"></div>
<div style="display:none"></div>
JavaScript
$(function () {
Highcharts.getOptions().colors = Highcharts.map(Highcharts.getOptions().colors, function (color) {
return Highcharts.Color(color)
.setOpacity(0.5)
.get('rgba');
});
$('#container').highcharts({
series: [ {
name: 'Joe',
data: [3, 4, 4, 2, 5,3, 4, 4, 2, 5, 2, 5, 3],
stack: 'male', pointPadding: 0.1
}, {
name: 'Janet1',
data: [3, 0, 4, 4, 3, 3, 0, 4, 4, 3, 4, 3, 3],
stack: 'female1', pointPadding: 0.7
}],
chart: {
polar: true,
type: 'column',
backgroundColor: '#FFFFFF'
},
xAxis: [{
lineWidth: 5,
offset: 110,
categories: ['6','7','8','9','10','11','12','13','14','15','16','17','18'],
tickInterval: 1,
tickmarkPlacement: 'on',
gridLineWdith: 0,
}],
yAxis: {
min: -10,
endOnTick: false,
showLastLabel: true,
title: {
text: null
},
labels: {
align: 'center'
}
},
plotOptions: {
column:{
grouping: false,
shadow: false
}
}
});
});