eurostat-map
    Preparing search index...

    Interface SparklineColorLegendConfig

    Configuration for sparkline color legend (explains sparkLineColor/sparkAreaColor rules).

    interface SparklineColorLegendConfig {
        show?: boolean;
        title?: string;
        titlePadding?: number;
        marginTop?: number;
        itemGap?: number;
        swatchWidth?: number;
        swatchHeight?: number;
        labelOffsetX?: number;
        items?: { color: string; label: string }[];
    }
    Index

    Properties

    show?: boolean

    Show.

    title?: string

    Title.

    titlePadding?: number

    Title padding.

    marginTop?: number

    Margin top.

    itemGap?: number

    Item gap.

    swatchWidth?: number

    Swatch width.

    swatchHeight?: number

    Swatch height.

    labelOffsetX?: number

    Label offset x.

    items?: { color: string; label: string }[]

    Items.