Reincharts
    Preparing search index...

    Interface SingleTooltipProps

    interface SingleTooltipProps {
        fontFamily?: string;
        fontSize?: number;
        fontWeight?: number;
        forChart: string | number;
        labelFill: string;
        layout: layouts;
        onClick?: (event: MouseEvent, details: any) => void;
        options: any;
        origin: [number, number];
        valueFill: string;
        withShape: boolean;
        yLabel: string;
        yValue: string;
    }
    Index

    Properties

    fontFamily?: string

    Font family for the tooltip text.

    fontSize?: number

    Font size for the tooltip text.

    fontWeight?: number

    Font weight for the tooltip text.

    forChart: string | number

    Chart identifier that this tooltip belongs to.

    labelFill: string

    Fill color for the label text.

    layout: layouts

    Layout style for the tooltip display.

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

    Click event handler for the tooltip.

    options: any

    Configuration options for the tooltip.

    origin: [number, number]

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

    valueFill: string

    Fill color for the value text.

    withShape: boolean

    Whether to display a colored shape next to the value.

    yLabel: string

    Label text to display for the Y value.

    yValue: string

    Value text to display for the Y value.