Skip to content

Interface: CalcContext ​

Experimental

Context for calc and extremes.

Properties ​

PropertyModifierTypeDescription
axes?readonlyReadonlyMap<string, AxisInfo>Experimental Every cartesian axis by id (M3 wave 2), for multi-subplot traces (see TraceModule.cells), which convert each column through the axis it is drawn on. Always set by the runtime; optional for hand-built contexts.
fullLayoutreadonlyFullLayoutExperimental
indexreadonlynumberExperimental Index of the trace in data.
xaxisreadonlyAxisInfo | undefinedExperimental The trace's axes (cartesian traces only). Only type and the data ↔ linear mapping of scale are meaningful here; range and length are set later, during layout.
yaxisreadonlyAxisInfo | undefinedExperimental

Released under the MIT License.