dhtmlxChart Integration with Grid and grouping example NOK

[url]http://www.dhtmlx.com/docs/products/dhtmlxChart/samples/09_integration/02_dhtmlxgrid_group.html[/url]

In the above example when you edit the grid the Chart is refreshed.
But even if you don’t change any values the Chart seems to add all values in the refresh.
When clicking a few times in the grid without changing anything you get:

To make the refresh work as expected I had to call the method clearAll() twice in the function refresh_chart()

function refresh_chart() {
barChart.clearAll();
barChart.clearAll();
barChart.parse(mygrid, “dhtmlxgrid”);
};

What am I doing wrong or what settings do I have to change to make the example work as intended?
Thanks again in advance :wink:

There was a bug in chart clearing. Please try to use attached files instead of original. They’ll fix the problem
libs.zip (56.4 KB)

That did it again Thanks Alexandra :smiley: