Function: planRestyle()
ts
function planRestyle(update, fullData, opts, traceIndices?): Set<Stage>;Experimental
Plan a restyle: every attribute path in update applied to the given traces.
Parameters
| Parameter | Type | Description |
|---|---|---|
update | Readonly<Record<string, unknown>> | Attribute strings to new values, e.g. { 'marker.color': 'red' }. |
fullData | readonly FullTrace[] | - |
opts | PlanOptions | - |
traceIndices | readonly number[] | Traces the update applies to (all traces when omitted). |
Returns
Set<Stage>