I have a C3 stacked bar chart. In that I am facing an issue. I am plotting 3 values in stack. P1, P2 and Other. If all suppose I dont have value for P2, then my order will change in some random manner.
See for the second bar P2 is coming on top and P1 is coming below that.
I tried hard coding the 0 to 1, I am getting the correct order.
How can I correct the order even if some values are zero?