MAIDR JavaScript API
    Preparing search index...
    • Computes the parts of one box from its two halves.

      Both orientations share one vertex order, with the axes exchanged: along the value axis the lower half visits q1, the minimum and the median, the upper half the median, q3 and the maximum.

      Parameters

      • lowerD: string

        The d of the first (q1-to-median) half

      • upperD: string

        The d of the second (median-to-q3) half

      • horizontal: boolean

        Whether the box is drawn horizontally

      Returns Record<BoxPart, string> | null

      Each part's d, or null when the halves do not have the shape