Closed teamdandelion closed 10 years ago
Currently thinking of using d3's stack layout to handle this.
Specifics to StackedBar
and ClusteredBar
tracking at #1086.
StackedArea
version tracking at #1111.
Also, need a confirm/deny on the same-order issue for bars. @tkimcoop ?
Doesn't happen for bars.
For area, we already assume that the data comes in order, so the only issue left is stacking correctly, which is tracked at #1111.
The stacking logic that will be merged by #789 assumes that stacked data is of the same length, with the same x values, in the same order. If any of these invariants are violated it will misbehave. We should harden this logic (and probably factor it into a util). Also for areaPlots we may want some sort of interpolation behavior.