MAIDR Documentation - v4.4.0
    Preparing search index...

    Interface DeclarationBase

    Fields every declaration accepts, whatever its type.

    interface DeclarationBase {
        title?: string;
        name?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    title?: string

    Overrides the layer's announced title. Maps to MaidrLayer.title.

    Names the chart; use DeclarationBase.name to say which layer of it this is.

    name?: string

    Names this layer among sibling layers. Maps to MaidrLayer.name.

    Announced on a layer switch in place of the trace type, so a hue-split figure says "Male" and "Female" rather than "error_bar plot" twice.