Skip to content

Documentation / @ripl/core / RadialScaleOptions

Interface: RadialScaleOptions ​

Defined in: packages/core/src/scales/radial.ts:14

Options for a radial scale that maps a numeric magnitude onto a ring radius.

Properties ​

PropertyTypeDescriptionDefined in
clamp?booleanConstrains mapped radii to the range bounds so out-of-domain magnitudes never overshoot the ring (or fall inside its inner radius). Defaults to true, since radial magnitude must not exceed the ring.packages/core/src/scales/radial.ts:20
padToTicks?number | booleanExpands the mapping domain to tick-aligned boundaries. true uses ~10 ticks; a number sets the target tick count.packages/core/src/scales/radial.ts:22