Documentation / @ripl/core / LogarithmicScaleOptions
Interface: LogarithmicScaleOptions
Defined in: packages/core/src/scales/logarithmic.ts:28
Options for a logarithmic scale, adding a configurable base to the base linear scale options.
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
base? | number | The logarithm base used for the transformation. Defaults to 10. | - | packages/core/src/scales/logarithmic.ts:30 |
clamp? | boolean | Constrains mapped values to the range bounds, so out-of-domain inputs never overshoot. | LinearScaleOptions.clamp | packages/core/src/scales/_base/index.ts:38 |
nice? | number | boolean | Expand the domain to round, tick-aligned boundaries at construction. true uses ~10 ticks; a number sets the target tick count. This is a construction-time option by design — scales stay plain callable objects with no chained .nice() method. | LinearScaleOptions.nice | packages/core/src/scales/_base/index.ts:46 |
padToTicks? | number | boolean | Expands the mapping domain to tick-aligned boundaries. true uses ~10 ticks; a number sets the target tick count. | LinearScaleOptions.padToTicks | packages/core/src/scales/_base/index.ts:40 |