PieChart - Manually Refreshing Data


I’m evaluating dhtmlxChart for work and have run into some issues trying to make a Chart that refreshes.

I have a xml string I’m receiving through ajax requests i’m trying to use to refresh a pie chart. It was working at one point but I can’t get it to work again. Every time the chart refreshes it double draws.

I’m using the following code to every time a new ajax request is completed (every 30 seconds)

        function LiveServiceRefreshSucceeded(result) {
            pieChart.parse(result.d, "xml");

This is in IE8 as the charts won’t load in FF16

And Never mind, had some extra code in my event stack initializing the chart multiple times. Works fine soon as i cleaned that up.