h2 id="updateconfig">.update(config)</h2>
<p>Triggers an update of the chart. This can be safely called after updating the data object. This will update all scales, legends, and then re-render the chart.</p>
<pre><code class="lang-javascript"><span class="hljs-comment">// duration is the time for the animation of the redraw in milliseconds</span>
<span class="hljs-comment">// lazy is a boolean. if true, the animation can be interrupted by other animations</span>
myLineChart.data.datasets[<span class="hljs-n