Reincharts
    Preparing search index...

    Interface SingleMAToolTipProps

    interface SingleMAToolTipProps {
        color: string;
        displayName: string;
        fontFamily?: string;
        fontSize?: number;
        fontWeight?: number;
        forChart: string | number;
        labelFill?: string;
        labelFontWeight?: number;
        onClick?: (
            event: MouseEvent<SVGRectElement, MouseEvent>,
            details: any,
        ) => void;
        options: any;
        origin: [number, number];
        textFill?: string;
        value: string;
    }
    Index

    Properties

    color: string

    Color of the tooltip indicator line.

    displayName: string

    Display name for the moving average.

    fontFamily?: string

    Font family for tooltips.

    fontSize?: number

    Font size for tooltips.

    fontWeight?: number

    Font weight for tooltips.

    forChart: string | number

    Chart ID this tooltip is associated with.

    labelFill?: string

    Fill color for labels.

    labelFontWeight?: number

    Font weight for labels.

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

    Click event handler for the tooltip.

    options: any

    Configuration options for the moving average.

    origin: [number, number]

    Position of the tooltip.

    textFill?: string

    Fill color for text.

    value: string

    The formatted value to display.