Skip to content

Stacked bar plot not stacking, sometimes just overlapping #627

Closed
@timecrust

Description

@timecrust

When generating a stacked bar plot some pieces of bar will not stack, but rather will remain down along the x-axis either overlapping another piece of the bar (of another series), or being hidden behind another piece of the bar.

This is what renders when all series are enabled:
image

Disabling just one series (the red one) alters the render to this, note that the green series has suddenly appeared from behind the purple series in the 4th bar, and the total for the 4th bar has jumped from 10 to 11.
image

Here's a codepen mock up showing the issue: http://codepen.io/anon/pen/EyPrxV, disable the red series to see that the green series in the 4th bar was initially not stacking and hidden behind the purple series.

I get this issue whether using 7 series (or more) as in the example, all the way down to 3 series. When using only 2 series the issue doesn't seem to arise.

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions