Reincharts
    Preparing search index...

    Interface FibonacciRetracementProps

    interface FibonacciRetracementProps {
        appearance: {
            edgeFill: string;
            edgeStroke: string;
            edgeStrokeWidth: number;
            fontFamily: string;
            fontFill: string;
            fontSize: number;
            nsEdgeFill: string;
            r: number;
            strokeStyle: string;
            strokeWidth: number;
        };
        currentPositionOpacity?: number;
        currentPositionRadius?: number;
        currentPositionStroke?: string;
        currentPositionStrokeWidth?: number;
        enabled: boolean;
        hoverText: object;
        onComplete?: (
            e: MouseEvent,
            newRetracements: any[],
            moreProps: any,
        ) => void;
        onStart?: (moreProps: any) => void;
        retracements: any[];
        type: "RAY" | "EXTEND" | "BOUND";
    }
    Index

    Properties

    appearance: {
        edgeFill: string;
        edgeStroke: string;
        edgeStrokeWidth: number;
        fontFamily: string;
        fontFill: string;
        fontSize: number;
        nsEdgeFill: string;
        r: number;
        strokeStyle: string;
        strokeWidth: number;
    }

    Styling configuration for the retracement appearance.

    currentPositionOpacity?: number

    Opacity of the current position indicator.

    currentPositionRadius?: number

    Radius of the current position indicator.

    currentPositionStroke?: string

    Stroke color for the current position indicator.

    currentPositionStrokeWidth?: number

    Width of the current position indicator stroke.

    enabled: boolean

    Whether the Fibonacci retracement tool is enabled for interaction.

    hoverText: object

    Configuration object for hover text display.

    onComplete?: (e: MouseEvent, newRetracements: any[], moreProps: any) => void

    Callback function triggered when retracement drawing is completed. newRetracements is a list of all retracements with the new/updated retracement included.

    onStart?: (moreProps: any) => void

    Callback function triggered when retracement drawing starts.

    retracements: any[]

    Array of Fibonacci retracement objects that get drawn.

    type: "RAY" | "EXTEND" | "BOUND"

    Type of retracement line behavior.