Reincharts
    Preparing search index...

    Interface TriangleProps

    interface TriangleProps {
        className?: string;
        direction?:
            | "left"
            | "right"
            | "top"
            | "bottom"
            | "hide"
            | ((data: any) => any);
        fillStyle?: string | ((data: any) => string);
        point: { data: any; x: number; y: number };
        strokeStyle?: string | ((data: any) => string);
        strokeWidth?: number;
        width?: number | ((data: any) => number);
    }
    Index

    Properties

    className?: string

    CSS class name for styling the triangle marker.

    direction?: "left" | "right" | "top" | "bottom" | "hide" | ((data: any) => any)

    Direction the triangle points, can be static or function based on data.

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

    Fill color for the triangle marker, can be static or function based on data.

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

    Point data containing position and associated data.

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

    Stroke color for the triangle marker border, can be static or function based on data.

    strokeWidth?: number

    Width of the stroke around the triangle marker.

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

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