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

    Function generatePlotlySelectors

    • Generates CSS selectors for a given trace type and index.

      Parameters

      • maidrType: TraceType

        The MAIDR trace type.

      • traceIndex: number

        The global index of the trace in gd._fullData.

      • gd: HTMLElement

        The plotly graph div element.

      Returns string | undefined

      CSS selector string, or undefined if no selector can be generated.