MAIDR JavaScript API
    Preparing search index...

    Interface AppendDataOptions

    Options identifying the target layer (and group) for an appended data point.

    Each append rebuilds the chart model from the full data, so per-update cost scales with total chart size. For high-frequency streams, set Maidr.maxWidth to bound the data (and the cost) per series.

    interface AppendDataOptions {
        subplotRow?: number;
        subplotCol?: number;
        layerId?: string;
        layerIndex?: number;
        groupIndex?: number;
    }
    Index

    Properties

    subplotRow?: number

    Row of the target subplot in the subplot grid. Defaults to 0.

    subplotCol?: number

    Column of the target subplot in the subplot grid. Defaults to 0.

    layerId?: string

    Id of the target layer. Takes precedence over layerIndex.

    layerIndex?: number

    Index of the target layer within the subplot. Defaults to 0.

    groupIndex?: number

    Group (series) index for nested data such as multiline charts. Defaults to 0.