MAIDR JavaScript API
    Preparing search index...

    Interface PlotlyCalcData

    interface PlotlyCalcData {
        x?: number | number[];
        y?: number | number[];
        p?: string | number;
        s?: number;
        s0?: number;
        s1?: number;
        i?: number | null;
        sNorm?: number;
        rawS?: number;
        isSum?: boolean;
        b?: number;
        xs?: number;
        xh?: number;
        ys?: number;
        yh?: number;
        pos?: string | number;
        min?: number;
        max?: number;
        q1?: number;
        q3?: number;
        med?: number;
        mean?: number;
        lf?: number;
        uf?: number;
        lo?: number;
        uo?: number;
        pts?: PlotlyCalcPoint[];
        pts2?: PlotlyCalcPoint[];
        density?: PlotlyDensitySample[];
        posCenterPx?: number;
        t?: PlotlyCalcMeta;
        v?: number;
        label?: string | number;
        hierarchy?: PlotlyHierarchyNode;
        _links?: PlotlySankeyLink[];
        loc?: string | number | null;
        ct?: [number, number];
        r?: number;
        theta?: string | number;
        z?: number | number[][];
        trace?: PlotlyTrace;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    x?: number | number[]

    One sample's position — and, on the 2d-map traces whose calc entry holds the whole grid rather than one point, the ARRAY of coordinates that grid is indexed by. A contour's x is its columns' coordinates in data units, already trimmed to the grid plotly drew.

    y?: number | number[]
    p?: string | number
    s?: number
    s0?: number
    s1?: number
    i?: number | null

    Index into the trace's own arrays, and null for a sample plotly inserted rather than the author writing it — the positions a stacked scatter borrows from the other traces in its stack.

    sNorm?: number

    This band's own size after groupnorm rescaled the stack.

    rawS?: number

    The step's authored contribution, before it was accumulated.

    isSum?: boolean

    Whether the step restates the running total rather than changing it.

    b?: number

    Base the bar is measured from, set while plotly positions the group.

    xs?: number
    xh?: number
    ys?: number
    yh?: number
    pos?: string | number
    min?: number
    max?: number
    q1?: number
    q3?: number
    med?: number
    mean?: number
    lf?: number
    uf?: number
    lo?: number
    uo?: number

    KDE samples: t is the value-axis coordinate, v the density there.

    posCenterPx?: number

    Pixel centre of this violin on the position axis, set when plotly draws it.

    Per-trace calc metadata; plotly stores it on the first entry of a trace.

    v?: number

    Slice magnitude, after plotly dropped the values it would not draw. A waterfall keeps the running total the step produced here instead.

    label?: string | number

    Slice label.

    The stratified, sorted tree the sectors were drawn from.

    _links?: PlotlySankeyLink[]

    The flows plotly kept, in the order it drew the ribbons.

    loc?: string | number | null

    The region this entry shades, as the trace addressed it.

    ct?: [number, number]

    The region's centroid as [lon, lat] in degrees, copied off the topojson/GeoJSON feature plotly resolved the region to. Present only once the map has been drawn.

    r?: number

    Radial coordinate (scatterpolar).

    theta?: string | number

    Angular coordinate (scatterpolar).

    z?: number | number[][]
    trace?: PlotlyTrace