ScaleLinewidthManual
Manual linewidth mapping: domain values paired with explicit numbers.
Defaults
- helper
scaleLinewidthManual- family
numeric-style- aesthetic
linewidth- scale type
manual- options type
ManualNumericStyleScaleOptions
Svelte component
import { GGPlot, GeomLine, ScaleLinewidthManual } from "@ggsvelte/svelte";
<GGPlot data={rows} aes={{ x: "x", y: "y", linewidth: "weight" }}>
<ScaleLinewidthManual />
<GeomLine />
</GGPlot> JSON scales
{
"scales": {
"linewidth": {
"type": "manual"
}
}
} Params
domainArray<DomainValue>Explicit semantic domain. Continuous scales use [min, max]; ordinal uses ordered values.
naValuenumberReplacement for missing/null source values.
unknownValuenumberReplacement for invalid, out-of-domain, or unmapped values.
guideGuideSpecGuide presentation override (legend, colorbar, colorsteps, or none).
valuesrequirednumber[]Numeric range values paired with domain (required).
Guide interaction
Legend guide for the mapped style channel. Set guide: "none" to hide.