I am showing 2 bars side by side using jQuery flot library. I have set a barWidth, and it renders perfectly fine.
Problem - When one of the bar's value is 0, the bar does not show. But the other bar becomes wider.
Question - how to set the width, and let it be that in any case? I have read on min, max but could not figure out how to use them.
Please see my code below -
var myData = [{
data: plotpoints2,
color: "red",
bars: {
show: true,
barWidth: 0.9,
fillColor: "red",
align: "center",
order: 1
}
}, {
data: plotpoints2,
color: "green",
bars: {
show: true,
barWidth: 0.9,
fillColor: green,
align: "center",
order: 2
}
}];