Reincharts
    Preparing search index...

    Interface MACDTooltipProps

    interface MACDTooltipProps {
        appearance: {
            fillStyle: { divergence: string };
            strokeStyle: { macd: string; signal: string };
        };
        className?: string;
        displayFormat: (value: number) => string;
        displayInit?: string;
        displayValuesFor: (props: MACDTooltipProps, moreProps: any) => any;
        fontFamily?: string;
        fontSize?: number;
        fontWeight?: number;
        labelFill?: string;
        labelFontWeight?: number;
        onClick?: (event: MouseEvent) => void;
        options: { fast: number; signal: number; slow: number };
        origin: number[] | ((width: number, height: number) => [number, number]);
        yAccessor: (
            data: any,
        ) => { divergence: number; macd: number; signal: number };
    }
    Index

    Properties

    appearance: {
        fillStyle: { divergence: string };
        strokeStyle: { macd: string; signal: string };
    }

    Styling configuration for MACD visualization.

    className?: string

    CSS class name for the tooltip.

    displayFormat: (value: number) => string

    Function to format displayed values.

    displayInit?: string

    Initial display text when no data is available.

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

    Function to determine which values to display.

    fontFamily?: string

    Font family for the tooltip text.

    fontSize?: number

    Font size for the tooltip text.

    fontWeight?: number

    Font weight for the tooltip text.

    labelFill?: string

    Fill color for labels.

    labelFontWeight?: number

    Font weight for labels.

    onClick?: (event: MouseEvent) => void

    Click event handler for the tooltip.

    options: { fast: number; signal: number; slow: number }

    MACD calculation options.

    origin: number[] | ((width: number, height: number) => [number, number])

    Position of the tooltip.

    yAccessor: (data: any) => { divergence: number; macd: number; signal: number }

    Data accessor function for MACD values.