TypeError: child._updateFromParent is not a function
See original GitHub issueExpected Behavior
When I update chart data, I want the chart to be updated.
Actual Behavior
When I update chart data, I get the error TypeError: child._updateFromParent is not a function
(I tried to pass data throught event, vuex, and even tried to forceUpdate)
This is an error I got with the reactive prop example too (so I used reactive data example).
Environment
- vue.js version: 2.1.8
- vue-chart.js version: 2.5.0
- npm version: 3.10.9
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Error "TypeError: $(...).children is not a function" - Stack Overflow
I try to select a certain DOM element with jQuery. The HTML content: <html> <head> <script src ...
Read more >TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >Uncaught TypeError | Is Not A Function | Solution - YouTube
Have you encountered an error like:- Uncaught TypeError - Some selector is not a function - jQuery is not a function - owlCarousel...
Read more >m[dat[i].parent.toString(...)].children.push is not a function
im receiving this error. Uncaught TypeError: m[dat[i].parent.toString(...)].children.push is not a function. my code is this. $("#encodable-tree").jstree({.
Read more >'X' is not a function TypeError in React [Solved] | bobbyhadz
The React.js Uncaught TypeError: X is not a function occurs when we try to call a ... The Child component should take a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Updating my packages to its latest versions seems like fixed the problem. vue@2.2.4 vuex@2.2.1
I was using: vue@2.1.10 vuex@2.1.1
Well yet again, without a working example to debug, I can’t really help. I don’t know what your methods do, I don’t know in which components they are etc.
For me this erros seems more related to vuex / vue lifecycle.
Generally vue-chartjs is working with vuex.
Sample project: https://github.com/apertureless/vue-chartjs-vuex