Fit a legend of n entries, and an NA entry when missing, into rows
rows, listing at most max entries. Entries past the room go into a
"+N more" row, and the NA entry takes the last row. When even one entry,
the "+N more" row and the NA entry do not fit, the NA entry is left out
first; a legend that cannot show one entry and the "+N more" row shows
nothing.
Fit a legend of
nentries, and an NA entry whenmissing, intorowsrows, listing at mostmaxentries. Entries past the room go into a "+N more" row, and the NA entry takes the last row. When even one entry, the "+N more" row and the NA entry do not fit, the NA entry is left out first; a legend that cannot show one entry and the "+N more" row shows nothing.