stat: "align"
Interpolate series onto a shared x grid so continuous-x stacks and overlays line up (stack-friendly zeros outside range).
Usage
import { GGPlot, GeomLine } from "@ggsvelte/svelte";
<GGPlot data={rows} aes={{ x: "x", y: "y" }}>
<GeomLine stat="align" />
</GGPlot> {
"geom": "line",
"stat": "align"
} Generated columns (after_stat)
This stat does not publish named after_stat columns in STAT_COLUMNS. It may still rewrite positions or filter rows;
map aesthetics to data fields as usual.
Default for geoms
No geom uses this as its default stat. Set it explicitly when needed.