Binned, stacked area charts can have gaps #7930
Labels
Bug 🐛
Help Wanted
Good tasks for contributors (try https://github.com/vega/vega-lite/issues/1486 first)
P3
Should be fixed at some point
Broken Chart
link
The chart shouldn't have that gap at the bottom. Also, the areas on top are truncated too early on the right. The correct version would look like this:
Fixed Chart
link
The Change
The current generated code is using the original binned field rather than the
_mid
version. The diff between those chart's Vega code is changing the area'sdefined
channel from thisto
Another issue
I think ideally, the areas would slope down to zero at the edges of the x-extent for consistency. That seems like a slightly different and less severe bug though. I believe fixing that would require changing (and complicating) the imputation transform or adding another transform step.
The text was updated successfully, but these errors were encountered: