Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Stacked columns change width when showing or hiding series #5959
Showing or hiding series in a stacked column stock chart does not cause the width of the columns to drastically change.
A stacked column stock chart containing a hidden series displays extremely thin bars, ignoring ay configuration options.
Live demo with steps to reproduce
http://jsfiddle.net/z924q2jg/ (toggle a series to see this effect).
Just to provide a bit more context on this – this appears to be a regression introduced in 4.2.7, related to changes to data grouping, though I'm not sure exactly where.
However, data grouping is skipped when a series is not visible (
This causes the axis'
I'd be happy to raise a PR to fix this, but I'm not sure if it's more appropriate to remove the conditional