Function: update()
ts
function update(el, traceUpdate?, layoutUpdate?, traces?): Promise<Chart>;Plotly update: restyle and relayout in one step.
Parameters
| Parameter | Type |
|---|---|
el | HTMLElement |
traceUpdate | AttributeUpdate |
layoutUpdate | LayoutUpdate |
traces? | TraceIndices |
Returns
Promise<Chart>