MAIDR Documentation - v4.4.0
    Preparing search index...
    • Reads the label Plot drew for an axis.

      Plot decorates the label with the direction the axis increases in — ↑ Count for a vertical axis, Day → for a horizontal one. The arrow is meaningful to a sighted reader and noise in an announcement, so it is stripped.

      Parameters

      • svg: Element

        The plot's <svg>.

      • axis: "x" | "y" | "fx" | "fy"

        Which axis to read.

      Returns string | undefined

      The label, or undefined when the axis has none.