Reincharts
    Preparing search index...

    Interface InteractiveYCoordinateProps

    interface InteractiveYCoordinateProps {
        defaultPriceCoordinate: {
            bgFill: string;
            edge: { fill: string; stroke: string; strokeWidth: number };
            fontFamily: string;
            fontSize: number;
            fontStyle: string;
            fontWeight: string;
            stroke: string;
            strokeDasharray: strokeDashTypes;
            strokeWidth: number;
            text: string;
            textBox: {
                closeIcon: { padding: { left: number; right: number }; width: number };
                height: number;
                left: number;
                padding: { left: number; right: number };
            };
            textFill: string;
        };
        enabled: boolean;
        hoverText: {
            bgFill: string;
            bgHeight: string
            | number;
            bgWidth: string | number;
            enable: boolean;
            fill: string;
            fontFamily: string;
            fontSize: number;
            text: string;
        };
        isDraggable?: boolean;
        onComplete?: (
            e: MouseEvent,
            newYCoordinateList: any,
            moreProps: any,
        ) => void;
        yCoordinateList: any[];
    }
    Index

    Properties

    defaultPriceCoordinate: {
        bgFill: string;
        edge: { fill: string; stroke: string; strokeWidth: number };
        fontFamily: string;
        fontSize: number;
        fontStyle: string;
        fontWeight: string;
        stroke: string;
        strokeDasharray: strokeDashTypes;
        strokeWidth: number;
        text: string;
        textBox: {
            closeIcon: { padding: { left: number; right: number }; width: number };
            height: number;
            left: number;
            padding: { left: number; right: number };
        };
        textFill: string;
    }

    Default styling configuration for new Y coordinate elements including text box and edge appearance.

    enabled: boolean

    Whether the interactive Y coordinate tool is enabled.

    hoverText: {
        bgFill: string;
        bgHeight: string | number;
        bgWidth: string | number;
        enable: boolean;
        fill: string;
        fontFamily: string;
        fontSize: number;
        text: string;
    }

    Configuration for hover text display.

    isDraggable?: boolean

    If true, allows Y coordinates that are created to be draggable.

    onComplete?: (e: MouseEvent, newYCoordinateList: any, moreProps: any) => void

    Callback function triggered when Y coordinate creation is completed. newYCoordinateList is a list of all Y coordinates with the new/updated coordinate included.

    yCoordinateList: any[]

    Array of Y coordinate objects that get drawn.