MultiValueLegend
Name: MultiValue Legend
Description: Legend used for MultiValue data type (default corresponds to
categoryLabels
).
params$
Type:
Partial<MultiValueLegendParams>
Fields:
Name Description Type placement Placement position Placement
padding Padding from the border number
backgroundFill Background color type ColorType
backgroundStroke Stroke color type ColorType
gap Distance between legends number
listRectWidth Width of list icons number
listRectHeight Height of list icons number
listRectRadius Radius of list icon corners number
textColorType Text color type ColorType
Detailed Types
type ColorType = 'none' | 'label' | 'labelContrast' | 'primary' | 'secondary' | 'background'
type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end'
- Default values:
{
placement: 'bottom',
padding: 28,
backgroundFill: 'none',
backgroundStroke: 'none',
gap: 10,
listRectWidth: 14,
listRectHeight: 14,
listRectRadius: 0,
textColorType: 'primary'
}