MAIDR Documentation - v4.4.0
    Preparing search index...
    • Reads every scale a plot declares.

      Plot throws for a scale the chart does not have rather than returning undefined in every version, so each lookup is guarded individually — one missing color scale must not cost the caller its x and y.

      Parameters

      • element: Element

        Any element of the plot.

      Returns PlotScales

      The scales that exist, keyed by name. Empty when scale is absent.