Skip to content

Documentation / @ripl/charts / normalizeLegend

Function: normalizeLegend() ​

normalizeLegend(input?, defaults?): ChartLegendOptions

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

Normalizes legend input into fully resolved ChartLegendOptions.

Parameters ​

ParameterType
input?ChartLegendInput
defaults?Partial<ChartLegendOptions>

Returns ​

ChartLegendOptions