Skip to content

Function: relayout() ​

ts
function relayout(el, update): Promise<Chart>;

Plotly relayout: see Chart.relayout. Takes attribute paths ('xaxis.range[0]', untyped) and whole layout attributes (typed).

Parameters ​

ParameterType
elHTMLElement
updateLayoutUpdate

Returns ​

Promise<Chart>

Released under the MIT License.