How can I use Stacked Bars with values below and above the baseline?


#1

I’m trying to create a tornado diagram using a bar chart, setting the baseline for each series.

If I don’t set the stackIndex for each series, I get separate bars in the correct direction, but if I set the stackIndex, I get both bars stacked above the baseline which is wrong.  I can’t get stacked bars below and above the baseline.

Any suggestions?


#2

The solution was to create a second yAxis at the baseline value and put one series on the primary axis and the second series on the secondary axis.