eurostat-map
    Preparing search index...

    Interface MushroomColorLegendConfig

    Configuration for color legend in mushroom (dual semi-circle) charts.

    interface MushroomColorLegendConfig {
        title?: string;
        titlePadding?: number;
        marginTop?: number;
        labelOffsets?: { x: number; y: number };
        labels?: [string, string];
    }
    Index

    Properties

    title?: string

    Title for the color legend.

    titlePadding?: number

    Padding between title and legend content in pixels.

    5
    
    marginTop?: number

    Top margin for the color legend in pixels.

    5
    
    labelOffsets?: { x: number; y: number }

    Offset adjustments for labels.

    { x: 5, y: 5 }
    
    labels?: [string, string]

    Custom labels for the two color swatches (v1, v2).

    the stat datasets' own labels