Skip to content

Documentation / @ripl/charts / normalizePadding

Function: normalizePadding() ​

normalizePadding(value?): ChartPadding | undefined

Defined in: charts/src/core/options.ts:160

Normalizes a padding input into a full ChartPadding, or returns undefined when there is no input. Unspecified edges of a partial object fall back to 0.

Parameters ​

ParameterType
value?PaddingInput

Returns ​

ChartPadding | undefined