modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Interface ChartAnchorData

    Where a chart sits on the sheet: the xdr:from and xdr:to cells of its drawing anchor, written verbatim as xdr:col and xdr:row, so they are 0-based (0 is column A and row 1). Offsets within a cell are in EMUs; an omitted offset is 0.

    interface ChartAnchorData {
        extCx?: number | null;
        extCy?: number | null;
        fromCol: number;
        fromColOff?: number;
        fromRow: number;
        fromRowOff?: number;
        posX?: number | null;
        posY?: number | null;
        toCol: number;
        toColOff?: number;
        toRow: number;
        toRowOff?: number;
    }
    Index
    extCx?: number | null

    Width in EMUs, for a oneCellAnchor or absoluteAnchor. With extCy also set the anchor is a oneCellAnchor, or an absoluteAnchor when posX and posY are set too.

    extCy?: number | null

    Height in EMUs. See extCx.

    fromCol: number
    fromColOff?: number
    fromRow: number
    fromRowOff?: number
    posX?: number | null

    Absolute X position in EMUs. With posY, extCx and extCy the anchor is an absoluteAnchor.

    posY?: number | null

    Absolute Y position in EMUs. See posX.

    toCol: number
    toColOff?: number
    toRow: number
    toRowOff?: number