MAIDR Documentation - v4.4.0
    Preparing search index...
    • Reports a declaration the construct it was written on cannot back — the other half of spec §7.1.

      Distinct from warnUndrawnType: the adapter reads this type, but not off this series. A survival curve read off a pie is not a degraded announcement, it is a wrong one, so the reading falls through to the undeclared chart and says which construct the declaration wanted.

      Parameters

      • context: DeclarationContext

        Who is reading, and what they are reading it off.

      • type: string

        The declared type, printed as the author wrote it.

      • needs: string

        What the type needs, phrased to follow "needs" — 'a "map" series', 'a bar or line dataset'.

      • Optionaldrawn: string

        What the library actually draws this series as, when the adapter can name it.

      Returns void