Reincharts
    Preparing search index...
    interface SvgPathLabelProps {
        data?: any;
        fillStyle?: string | ((data: any) => string);
        rotate?: number;
        scale?: number;
        selectCanvas?: (canvases: any) => any;
        strokeStyle?: string | ((data: any) => string);
        strokeWidth?: number;
        svgPath?: string | ((data: any) => string);
        x:
            | number
            | (
                (
                    xScale: ScaleContinuousNumeric<number, number>,
                    xAccessor: any,
                    data: any,
                    plotData: any[],
                ) => number
            );
        xAccessor?: (data: any) => any;
        xScale?: ScaleContinuousNumeric<number, number, never>;
        y:
            | number
            | (
                (
                    yScale: ScaleContinuousNumeric<number, number>,
                    data: any,
                    plotData: any[],
                ) => number
            );
        yScale?: ScaleContinuousNumeric<number, number, never>;
    }
    Index

    Properties

    data?: any

    Data point associated with this label.

    fillStyle?: string | ((data: any) => string)

    Fill color for the path, can be static string or function based on data.

    rotate?: number

    Rotation angle for the path in degrees.

    scale?: number

    Scale factor for the path size.

    selectCanvas?: (canvases: any) => any

    Function to select which canvas to draw on from available canvases.

    strokeStyle?: string | ((data: any) => string)

    Stroke color for the path, can be static string or function based on data.

    strokeWidth?: number

    Stroke width for the path outline.

    svgPath?: string | ((data: any) => string)

    SVG path string (d attribute), can be static string or function based on data.

    x:
        | number
        | (
            (
                xScale: ScaleContinuousNumeric<number, number>,
                xAccessor: any,
                data: any,
                plotData: any[],
            ) => number
        )

    X position of the label, can be static number or function that calculates position.

    xAccessor?: (data: any) => any

    Function to extract x-value from data points.

    xScale?: ScaleContinuousNumeric<number, number, never>

    D3 scale for x-axis positioning.

    y:
        | number
        | (
            (
                yScale: ScaleContinuousNumeric<number, number>,
                data: any,
                plotData: any[],
            ) => number
        )

    Y position of the label, can be static number or function that calculates position.

    yScale?: ScaleContinuousNumeric<number, number, never>

    D3 scale for y-axis positioning.