Reincharts
    Preparing search index...

    Interface GroupTooltipProps

    interface GroupTooltipProps {
        className?: string;
        displayFormat: (value: number) => string;
        displayInit?: string;
        displayValuesFor: (props: GroupTooltipProps, moreProps: any) => any;
        fontFamily?: string;
        fontSize?: number;
        fontWeight?: number;
        layout: layouts;
        onClick?: (event: MouseEvent, details: any) => void;
        options: {
            labelFill?: string;
            valueFill?: string;
            withShape?: boolean;
            yAccessor: (data: any) => number;
            yLabel: string;
        }[];
        origin: [number, number];
        position?: "topRight" | "bottomLeft" | "bottomRight";
        verticalSize?: number;
        width?: number;
    }
    Index

    Properties

    className?: string

    CSS class name for styling the tooltip.

    displayFormat: (value: number) => string

    Function to format the displayed values.

    displayInit?: string

    Initial display text when no data is available.

    displayValuesFor: (props: GroupTooltipProps, moreProps: any) => any

    Function to determine which data item to display values for.

    fontFamily?: string

    Font family for the tooltip text.

    fontSize?: number

    Font size for the tooltip text.

    fontWeight?: number

    Font weight for the tooltip text.

    layout: layouts

    Layout style for the tooltip display.

    onClick?: (event: MouseEvent, details: any) => void

    Click event handler for the tooltip.

    options: {
        labelFill?: string;
        valueFill?: string;
        withShape?: boolean;
        yAccessor: (data: any) => number;
        yLabel: string;
    }[]

    Configuration options for each tooltip item in the group.

    origin: [number, number]

    Position of the tooltip as [x, y] coordinates.

    position?: "topRight" | "bottomLeft" | "bottomRight"

    Position preset for the tooltip placement.

    verticalSize?: number

    Vertical size only used if layout is "vertical" or "verticalRows".

    width?: number

    Width only used if layout is "horizontal" or "horizontalRows".