How to apply border in the stacked bar chart when the series contains zero value? When the series contains zero value, stacked bar don't visible instead of that how to set the border for that empty bar. Please check this [fiddle]:https://jsfiddle.net/fekkyDev/3b1jahsg/1/
Highcharts.chart('container', {
chart: {
type: 'bar'
},
title: {
text: 'Stacked bar chart'
},
xAxis: {
categories: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas']
},
yAxis: {
min: 0,
title: {
text: 'Total fruit consumption'
}
},
legend: {
reversed: true
},
plotOptions: {
series: {
stacking: 'normal'
}
},
series: [{
name: 'John',
data: [0, 3, 4, 7, 2]
}, {
name: 'Jane',
data: [0, 2, 3, 2, 1]
}, {
name: 'Joe',
data: [0, 4, 4, 2, 5]
}]
});