JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
$(function () {
$('#container').highcharts({
chart: {
type: 'column'
},
title: {
text: 'Column with visible zero entries'
},
xAxis: {
categories: [
'Foo',
'Bar',
'Baz',
'Qux'
]
},
yAxis: {
title: {
text: 'X Title'
}
},
plotOptions: {
column: {
minPointLength: 3
}
},
series: [{
name: 'Series 1',
data: [9.9, 0, 10.4, 29.2]
}, {
name: 'Series 2',
data: [3.6, 8.8, 8.5, 0]
}]
});
});