MAIDR Documentation - v3.39.0
    Preparing search index...

    Interface LayerSwitchTraceState

    Extended trace state for layer switching mode with navigation indices.

    interface LayerSwitchTraceState {
        empty: false;
        type: "trace";
        traceType: TraceType;
        plotType: string;
        title: string;
        xAxis: string;
        yAxis: string;
        fill: string;
        hasMultiPoints: boolean;
        audio: AudioState;
        braille: BrailleState;
        text: TextState;
        autoplay: AutoplayState;
        highlight: HighlightState;
        intersections?: AudioState[] | null;
        groupCount?: number;
        isLayerSwitch: true;
        index: number;
        size: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    empty: false
    type: "trace"
    traceType: TraceType
    plotType: string
    title: string
    xAxis: string
    yAxis: string
    fill: string
    hasMultiPoints: boolean
    audio: AudioState
    braille: BrailleState
    text: TextState
    autoplay: AutoplayState
    highlight: HighlightState
    intersections?: AudioState[] | null

    Array of audio states for all lines that intersect at the current point. Used for intersection-aware audio playback in multiline plots. null/undefined for normal points (single line or no intersection).

    groupCount?: number

    Number of groups/series in the plot. Only present for multiline plots where plotType === 'multiline'.

    isLayerSwitch: true
    index: number
    size: number