Reincharts
    Preparing search index...

    Interface SquareProps

    interface SquareProps {
        className?: string;
        fillStyle?: string;
        point: { data: any; x: number; y: number };
        strokeStyle?: string;
        strokeWidth?: number;
        width: number | ((data: any) => number);
    }
    Index

    Properties

    className?: string

    CSS class name for styling the square marker.

    fillStyle?: string

    Fill color for the square marker.

    point: { data: any; x: number; y: number }

    Point data containing position and associated data.

    strokeStyle?: string

    Stroke color for the square marker border.

    strokeWidth?: number

    Width of the stroke around the square marker.

    width: number | ((data: any) => number)

    Width of the square marker, can be static number or function based on data.