customize the legend component

interface LegendOptions {
    additionalItems?: interfaces.LegendItem[];
    alignment?: string;
    clickable?: boolean;
    enabled?: boolean;
    order?: string[];
    orientation?: interfaces.LegendOrientations;
    position?: string;
    truncation?: interfaces.TruncationOptions;
}

Properties

additionalItems?: interfaces.LegendItem[]

customized legend items

alignment?: string
clickable?: boolean

the clickability of legend items

enabled?: boolean
order?: string[]
position?: string