Skip to content

Function: extendTraces() ​

ts
function extendTraces(el, update, indices, maxPoints?): Promise<Chart>;

Plotly extendTraces: append points, optionally keeping a rolling window of maxPoints.

Parameters ​

ParameterType
elHTMLElement
updateStreamUpdate
indicesTraceIndices
maxPoints?MaxPoints

Returns ​

Promise<Chart>

Released under the MIT License.