We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ejChart keeps old data drawn after updating

hi,
i am using an ajax call to receive JSON to bind the data in the ejChart
i call redraw after every bind the first and the second times updates fine but the third time it retrieves the  data and draws them but keeps the old ones
i dont know if it will help or no but the second json array contains more elements than the third one

function (chartData) {


                console.log(chartData);

                $("#container").ejChart({
                    series: JSON.parse(chartData)
                });

                $("#container").ejChart("redraw");

};

1 Reply

SK Sanjith Kesavan Syncfusion Team November 30, 2015 12:50 PM UTC

Hi Hany,

Thanks for contacting Syncfusion support. We have analyzed your query. Could you please provide us the following details.
1.       Whether you are binding datasource for the already existing series or new series.
2.       Whether you are creating chart in  Ajax call or binding the datasource for the already existing chart
3.       Please provide us the details about the datasource which you are binding for the chart.

Or else please provide us the sample in which reported issue is reproduced along with the replication procedure.
This will be helpful for us to find and fix the issue sooner.

Please let us know if you have any concern.

Regards,
Sanjith K.

Loader.
Up arrow icon