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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error Rectification

Thread ID:

Created:

Updated:

Platform:

Replies:

149159 Nov 16,2019 05:48 AM UTC Nov 19,2019 04:03 PM UTC React - EJ 2 1
loading
Tags: Chart
thara pearlly
Asked On November 16, 2019 05:48 AM UTC

Team,

     My application seems to throw an error from the chart component saying "Cannot set property 'previousPoints' of undefined".

Chart component get whole properties through class props, these properties are fetched and given as JSON.
When i receive this JSON first time component renders perfectly, but when props is fed second time i get the above mentioned error. Your support in this will be of great help.

I have attached my current working file (will have error on your side if executed) of the chart component and data that is fed to the chart which is of JSON.

Note :Datasource in json is empty, will be set in parent function before feeding into the child(chart component).

Attachment: ChartReact_a53ff4b7.zip

Srihari Muthukaruppan [Syncfusion]
Replied On November 19, 2019 04:03 PM UTC

Hi thara, 
  
Greetings from syncfusion. 
  
We have analyzed your query. From that, we would like to let you know that we are not clear about the exact requirement. We have also tried to reproduce the issue using json data. Unfortunately we are unable to reproduce the issue. We have also attached the sample used by testing. Please find the below sample and screenshot. 
  
  
Screenshot: 
 
  
If you still face this issue. Please share the following information which will be more helpful for further analysis and provide you the solution sooner. 
  
  • Try to reproduce the reported scenario in the above sample
  
  • Share the details if you have done any other customization in your sample.
  
Let us know if you have any concerns. 
  
Regards, 
Srihari M 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon