ScaleShapeIdentity
Identity shape scale: source names used as mapped symbols.
Defaults
- helper
scaleShapeIdentity- family
finite-style- aesthetic
shape- scale type
identity- options type
IdentityFiniteStyleScaleOptions<PointShapeName>
Svelte component
import { GGPlot, GeomPoint, ScaleShapeIdentity } from "@ggsvelte/svelte";
<GGPlot data={rows} aes={{ x: "x", y: "y", shape: "group" }}>
<ScaleShapeIdentity />
<GeomPoint />
</GGPlot> JSON scales
{
"scales": {
"shape": {
"type": "identity"
}
}
} Params
naValue"circle" | "triangle" | "square" | "diamond" | "plus" | "cross"Replacement for missing/null source values.
unknownValue"circle" | "triangle" | "square" | "diamond" | "plus" | "cross"Replacement for invalid, out-of-domain, or unmapped values.
guideGuideSpecGuide presentation override (legend, colorbar, colorsteps, or none).
Guide interaction
Legend guide for the mapped style channel. Set guide: "none" to hide.