eurostat-map
    Preparing search index...

    Interface BarChartSizeLegendConfig

    Configuration for size legend in bar chart maps.

    interface BarChartSizeLegendConfig {
        title?: string;
        titlePadding?: number;
        values?: number[];
        labelFormatter?: (value: number) => string;
        noData?: boolean;
        noDataText?: string;
    }
    Index

    Properties

    title?: string

    Title for the size legend.

    titlePadding?: number

    Padding between title and legend content in pixels.

    10
    
    values?: number[]

    Custom values to display in the size legend. If null, auto-generates [min, mid, max].

    labelFormatter?: (value: number) => string

    Custom formatter function for legend labels.

    noData?: boolean

    Whether to show a "no data" item.

    false
    
    noDataText?: string

    Text label for "no data" item.

    'No data'