API REFERENCE
LegendItem
The LegendItem type declaration and related types. Optional fields are marked with ?.
Type declaration
export interface LegendItem {
label: string;
swatchColor: string;
swatchShape?: 'square' | 'circle' | 'line';
disabled?: boolean;
seriesIndex?: number;
id?: string | number;
}