<span class="op">;</span></span></code></pre></div>
<p>Note that the <code>width</code> and <code>height</code> used in the functions above are obtained from the <code>resize</code> function itself (see arguments).</p>
<p>That is one of the reasons for ensuring the instance of the visualisation (<code>controller</code> in this case) is shared (declared in <code>factory</code>), if declared in the <code>renderValue</code> function then the <code>resize</code> function cannot access that object and thus canno