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

    Minimal interface for a chart the adapter can convert: an XYChart (or an am5stock StockPanel, which extends it) or an am5percent chart -- a PieChart or the SlicedChart a funnel lives in.

    Both expose their data through a series list. Only an XY chart is bound to axes and owns a plot area, so xAxes / yAxes / plotContainer are optional — a pie has none of the three, and every read of them is guarded.

    interface AmChart {
        get: (key: string) => unknown;
        className?: string;
        uid?: number;
        series: AmListLike<AmXYSeries>;
        xAxes?: AmListLike<AmAxis>;
        yAxes?: AmListLike<AmAxis>;
        plotContainer?: {
            toGlobal?: (point: AmPoint) => AmPoint;
            width?: () => number;
            height?: () => number;
            globalBounds?: () => AmBounds;
        };
    }

    Hierarchy (View Summary)

    Index

    Properties

    get: (key: string) => unknown
    className?: string
    uid?: number
    plotContainer?: {
        toGlobal?: (point: AmPoint) => AmPoint;
        width?: () => number;
        height?: () => number;
        globalBounds?: () => AmBounds;
    }

    The masked plot area container; its bounds clip the visible columns.