Reincharts
    Preparing search index...

    Interface EquidistantChannelProps

    interface EquidistantChannelProps {
        appearance: {
            edgeFill: string;
            edgeFill2: string;
            edgeStroke: string;
            edgeStrokeWidth: number;
            fill: string;
            r: number;
            stroke: string;
            strokeWidth: number;
        };
        channels: any[];
        currentPositionOpacity?: number;
        currentPositionRadius?: number;
        currentPositionStroke?: string;
        currentPositionStrokeWidth?: number;
        enabled: boolean;
        hoverText: object;
        onComplete?: (e: MouseEvent, newChannels: any[], moreProps: any) => void;
        onStart?: () => void;
    }
    Index

    Properties

    appearance: {
        edgeFill: string;
        edgeFill2: string;
        edgeStroke: string;
        edgeStrokeWidth: number;
        fill: string;
        r: number;
        stroke: string;
        strokeWidth: number;
    }

    Styling configuration for the channel appearance including strokes, fills, and edge styling.

    channels: any[]

    Array of channel objects that get drawn.

    currentPositionOpacity?: number

    Opacity of the current position indicator.

    currentPositionRadius?: number

    Radius of the current position indicator.

    currentPositionStroke?: string

    Stroke color for the current position indicator.

    currentPositionStrokeWidth?: number

    Width of the current position indicator stroke.

    enabled: boolean

    Whether the equidistant channel drawing tool is enabled.

    hoverText: object

    Configuration for hover text display.

    onComplete?: (e: MouseEvent, newChannels: any[], moreProps: any) => void

    Callback function triggered when channel drawing is completed. newChannels is a list of all channels with the new/updated channel included.

    onStart?: () => void

    Callback function triggered when channel drawing starts.