s="sourceCode javascript"><span id="cb166-1"><a href="advanced-topics.html#cb166-1"></a>Plotly<span class="op">.</span><span class="fu">relayout</span>(<span class="st">&#39;chartid&#39;</span><span class="op">,</span> {<span class="dt">width</span><span class="op">:</span> width<span class="op">,</span> <span class="dt">height</span><span class="op">:</span> height})<span class="op">;</span></span></code></pre></div>
<p><strong>Highcharts</strong></p>
<div class="sourceCode" id="cb167"><pre class="sourceCo