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

    Type Alias NavigateCallback

    NavigateCallback: (info: { layerId: string; row: number; col: number }) => void

    Callback invoked when the active data point changes during navigation. Used by canvas-based charting libraries (e.g., Chart.js) for visual highlighting.

    Type Declaration

      • (info: { layerId: string; row: number; col: number }): void
      • Parameters

        • info: { layerId: string; row: number; col: number }

          Object containing the current navigation position

          • layerId: string

            The ID of the active layer/trace

          • row: number

            The current row index (e.g., dataset index)

          • col: number

            The current column index (e.g., data point index)

        Returns void