Skip to content

Function: prependTraces() ​

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

Plotly prependTraces: insert points at the start (see extendTraces).

Parameters ​

ParameterType
elHTMLElement
updateStreamUpdate
indicesTraceIndices
maxPoints?MaxPoints

Returns ​

Promise<Chart>

Released under the MIT License.