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

    One facet's share of a mark, and where on the canvas it was drawn.

    A faceted plot nests each facet's elements in a translated <g> inside the mark group; an unfaceted one puts the elements directly in the group. Both come back through here, the second as a single facet whose offset is zero, so callers need no special case.

    interface MarkFacet {
        offsetX: number;
        offsetY: number;
        elements: Element[];
    }
    Index

    Properties

    offsetX: number

    Horizontal offset of the facet, used to match it to an fx band.

    offsetY: number

    Vertical offset of the facet, used to match it to an fy band.

    elements: Element[]

    The mark's drawn elements within this facet, in document order.