eurostat-map
    Preparing search index...

    Interface BarChartLegendConfig

    Configuration for bar chart map legends. Adapts automatically to the map's barType ('stacked' or 'grouped').

    interface BarChartLegendConfig {
        x?: number;
        y?: number;
        width?: number;
        height?: number;
        title?: string;
        titleWidth?: number;
        titleFontSize?: number;
        boxWidth?: number;
        boxHeight?: number;
        boxPadding?: number;
        boxCornerRadius?: number;
        shapeWidth?: number;
        shapeHeight?: number;
        shapePadding?: number;
        labelFontSize?: number;
        labelOffset?: number;
        labelWrap?: number;
        labelDecimalPlaces?: number;
        orientation?: "vertical" | "horizontal";
        ascending?: boolean;
        cells?: any[];
        noData?: boolean;
        noDataText?: string;
        sizeLegend?: false | Partial<BarChartSizeLegendConfig>;
        colorLegend?: false | Partial<BarChartColorLegendConfig>;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    x?: number
    y?: number
    width?: number
    height?: number
    title?: string
    titleWidth?: number
    titleFontSize?: number
    boxWidth?: number
    boxHeight?: number
    boxPadding?: number
    boxCornerRadius?: number
    shapeWidth?: number
    shapeHeight?: number
    shapePadding?: number
    labelFontSize?: number
    labelOffset?: number
    labelWrap?: number
    labelDecimalPlaces?: number
    orientation?: "vertical" | "horizontal"
    ascending?: boolean
    cells?: any[]
    noData?: boolean
    noDataText?: string
    sizeLegend?: false | Partial<BarChartSizeLegendConfig>

    Configuration for the bar size legend. Set to false to hide.

    colorLegend?: false | Partial<BarChartColorLegendConfig>

    Configuration for the color/category legend. Set to false to hide.