plotomics
    Preparing search index...

    Function legendLabelsFit

    • Whether room px shows every label readably: whole, or cut with an ellipsis after its first three characters at the least. When it does not, a plot leaves its legend out and keeps the width.

      Parameters

      • labels: readonly string[]
      • room: number
      • size: number
      • fontFamily: string

      Returns boolean