Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while updating property 'd' in shadow node #44

Closed
vaporwavie opened this issue Sep 13, 2018 · 1 comment
Closed

Error while updating property 'd' in shadow node #44

vaporwavie opened this issue Sep 13, 2018 · 1 comment

Comments

@vaporwavie
Copy link

What's up everyone.

I'm trying to make the chart data dynamic, and the data itself (at the chart) must be updated in accord to an array I've created.

My data is configured as:

data={{labels: labels, datasets: [{ data: net }]}}

Labels are working just fine, but the net array is updated with a new value each 5 seconds. The whole structure seems ok, but I'm always getting this error 'Error while updating property 'd' in shadow node' from react native svg when trying to pass this net array as my dataaset.

Is there any way I can fix it? Just to keep in mind, the chart should update synchronously to the array itself. Thanks guys.

@vaporwavie
Copy link
Author

Closing it as I fixed it via my component's code. I basically fed up an array with data and then declared it at the data prop at the graph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant