Interface: ScatterCalc
Experimental
Scatter calcdata: linear coordinates per point (NaN where a point cannot be placed).
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
appendOf? | public | object | Experimental Set by calcAppend (E7.2): this calc is previous plus append. Views and extremes use it to take the streaming path even when crossTraceCalc reported the trace as changed (the runtime then drops plan.append). Cleared on previous when the next streamed calc is made, so at most two calcs stay alive. |
appendOf.append | readonly | TraceAppend | - |
appendOf.previous | readonly | ScatterCalc | - |
errorX | public | ErrorBarCalc | undefined | Experimental |
errorY | public | ErrorBarCalc | undefined | Experimental |
length | readonly | number | Experimental Point count (min(x.length, y.length), or the length of the given coordinate). |
link? | public | ScatterLink | Experimental Fill linking (E9.4), set by crossTraceCalc. |
markerSize | readonly | number | Float32Array<ArrayBufferLike> | Experimental Drawn marker diameters in CSS px: one value, or one per point after sizeref / sizemode / sizemin (0 hides a point). 0 when markers are off. |
ppad | readonly | number | Float64Array<ArrayBufferLike> | undefined | Experimental Autorange padding in px per point (Plotly's calcMarkerSize), when markers are drawn. |
stack? | public | ScatterStack | Experimental Stacking (E9.4), set by crossTraceCalc for traces in a stackgroup. |
stream? | readonly | unknown | Experimental Streaming storage (E7.2): the arrays above are views into buffers with room at both ends, shared with the calc of the next extendTraces / prependTraces. Absent for a plain calc. |
x | public | Float64Array | Experimental Per-point linear coordinates; stacked positions once crossTraceCalc stacked the trace. |
y | public | Float64Array | Experimental |