Reincharts
    Preparing search index...

    Interface MouseCoordinateXProps

    interface MouseCoordinateXProps {
        at?: "top" | "bottom";
        customX: (
            props: MouseCoordinateXProps,
            moreProps: any,
        ) => { coordinate: string; x: number };
        displayFormat: (item: any) => string;
        fill?: string;
        fitToText?: boolean;
        fontFamily?: string;
        fontSize?: number;
        opacity?: number;
        orient?: "top" | "bottom";
        rectHeight?: number;
        rectRadius?: number;
        rectWidth?: number;
        snapX?: boolean;
        stroke?: string;
        strokeOpacity?: number;
        strokeWidth?: number;
        textFill?: string;
        yAxisPad?: number;
    }
    Index

    Properties

    at?: "top" | "bottom"

    Which axis the coordinate should be placed at.

    customX: (
        props: MouseCoordinateXProps,
        moreProps: any,
    ) => { coordinate: string; x: number }

    Custom function to calculate the X coordinate and display value.

    displayFormat: (item: any) => string

    Function to format the displayed coordinate value.

    fill?: string

    Fill color for the coordinate background.

    fitToText?: boolean

    Whether to fit the coordinate box to the text content.

    fontFamily?: string

    Font family for the coordinate text.

    fontSize?: number

    Font size for the coordinate text.

    opacity?: number

    Opacity of the coordinate.

    orient?: "top" | "bottom"

    Orientation of the coordinate.

    rectHeight?: number

    Height of the coordinate rectangle.

    rectRadius?: number

    Border radius for the coordinate rectangle.

    rectWidth?: number

    Width of the coordinate rectangle.

    snapX?: boolean

    Whether to snap the coordinate to data points.

    stroke?: string

    Stroke color for the coordinate border.

    strokeOpacity?: number

    Opacity of the coordinate stroke.

    strokeWidth?: number

    Width of the coordinate stroke.

    textFill?: string

    Fill color for the coordinate text.

    yAxisPad?: number

    Padding from the Y axis.