You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The chart.stackLayout method is not working correctly when you try to change the layout algorithm. Unlike its default initialization on line 28 of stack-mixin.js:
I agree - although this feature goes back to the very early days of dc.js, it doesn't look like it could ever have worked without specifying .values().
I'm not sure if it's a good idea, but in case anyone is intentionally setting .values() differently, we could check if it is already set and only set it if not:
The chart.stackLayout method is not working correctly when you try to change the layout algorithm. Unlike its default initialization on line 28 of stack-mixin.js:
the method code on line 263 lacks binding values:
Changing it to
fixes the issue (tested with d3.layout.stack().offset("expand")).
The text was updated successfully, but these errors were encountered: