Function: restyle()
ts
function restyle(el, update, traces?): Promise<Chart>;Plotly restyle: see Chart.restyle. Takes attribute paths ('marker.color') whose array values hold one value per trace, so it is not typed against the traces' attributes.
Parameters
| Parameter | Type |
|---|---|
el | HTMLElement |
update | AttributeUpdate |
traces? | TraceIndices |
Returns
Promise<Chart>