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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ejChart keeps old data drawn after updating

Thread ID:

Created:

Updated:

Platform:

Replies:

121299 Nov 29,2015 04:29 PM UTC Apr 21,2018 04:52 AM UTC JavaScript 1
loading
Tags: ejChart
hany
Asked On November 29, 2015 04:29 PM UTC

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");

};

Sanjith Kesavan [Syncfusion]
Replied On 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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;