MAIDR JavaScript API
    Preparing search index...

    Function plotTypeLabel

    • How a trace type announces itself in the entry instruction.

      A value that is not a trace type is spoken as it is. Every trace is built from a known type, so this should not happen, but a lobby reading a panel's types from its state should not go silent if it ever does.

      Parameters

      • type: string

        The layer's trace type

      Returns string

      The spoken plot type, e.g. stacked bar for TraceType.STACKED