Skip to content

Documentation / @ripl/core / PointScaleOptions

Interface: PointScaleOptions

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

Options for a point scale, controlling outer padding and alignment within the range.

Properties

PropertyTypeDescriptionDefined in
alignment?numberWhere to place the points within any slack range, 0 (start) to 1 (end).packages/core/src/scales/point.ts:18
padding?numberSpace before the first and after the last point, as a fraction of the step.packages/core/src/scales/point.ts:16