eurostat-map
    Preparing search index...

    Interface HistogramLegendConfig

    Configuration for histogram display in choropleth legends. Shows the distribution of data values across classification bins as bars.

    interface HistogramLegendConfig {
        orientation?: "vertical" | "horizontal";
        showCounts?: boolean;
        showPercentages?: boolean;
        labelRotation?: number;
        margin?: { top: number; right: number; bottom: number; left: number };
        height?: number;
        width?: number;
    }
    Index

    Properties

    orientation?: "vertical" | "horizontal"

    Orientation of the histogram bars.

    'horizontal'
    
    showCounts?: boolean

    Whether to show count values on the bars.

    false
    
    showPercentages?: boolean

    Whether to show percentage values on the bars.

    false
    
    labelRotation?: number

    Rotation angle for axis labels in degrees.

    0
    
    margin?: { top: number; right: number; bottom: number; left: number }

    Margins around the histogram.

    { top: 0, right: 0, bottom: 0, left: 0 }
    
    height?: number

    Height of the histogram in pixels.

    200
    
    width?: number

    Width of the histogram in pixels.

    270