Chart.js update bars of a bar-chart
<p>I've got a BarChart on my Webpage using Chart.js.</p>

<p>Ive added two datapoints to it using</p>

<pre><code>chart.addData([5], "A");
chart.addData([7], "B");
</code></pre>

<p>Now I want to update those bars A and B without removing them and adding them again (which I already figured out how to do that). I want them to move vertically to adjust to their new values but I cant find out how to access the data thats already in the chart.</p>

<p>Theres nothing like</p>

<pre><code>chart.updateData(0,[6]);
chart.updateData(1,[9]);
</code></pre>

<p>where the first value would be the index of the stored data (f.e.).</p>

<p>How should I do this?</p>