Skip to content

Documentation / @ripl/charts / createColorLegend

Function: createColorLegend() ​

createColorLegend(options): ColorLegend

Defined in: charts/src/components/color-legend.ts:225

Factory function that creates a new ColorLegend.

Parameters ​

ParameterType
optionsColorLegendComponentOptions

Returns ​

ColorLegend