stat: "connect"
Expand successive points into connection vertices (linear, hv, vh, mid) for stepped or path-style joins between observations.
Usage
import { GGPlot, GeomLine } from "@ggsvelte/svelte";
<GGPlot data={rows} aes={{ x: "x", y: "y" }}>
<GeomLine stat="connect" />
</GGPlot> {
"geom": "line",
"stat": "connect"
} 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.