Closed arunrreddy closed 7 years ago
@arunrreddy
Have you tried to update to the latest version? We're at 2.5.4
ping @arunrreddy
@arunrreddy i have the same problem. How you solve it ?
@smagew can you show some code snippets?
@apertureless i have the similar errors in debug console:
vuejs.js:529 TypeError: Cannot read property 'chartId' of undefined
at getPropDefaultValue (vuejs.js:1426)
at validateProp (vuejs.js:1390)
at updateChildComponent (vuejs.js:2492)
at prepatch (vuejs.js:3367)
at patchVnode (vuejs.js:5170)
at updateChildren (vuejs.js:5097)
at patchVnode (vuejs.js:5181)
at VueComponent.patch [as __patch__] (vuejs.js:5306)
at VueComponent.Vue._update (vuejs.js:2327)
at VueComponent.updateComponent (vuejs.js:2443)
handleError @ vuejs.js:529
(anonymous) @ vuejs.js:663
nextTickHandler @ vuejs.js:608
and
vuejs.js:529 TypeError: Cannot read property 'chartId' of undefined
at getPropDefaultValue (vuejs.js:1426)
at validateProp (vuejs.js:1390)
at updateChildComponent (vuejs.js:2492)
at prepatch (vuejs.js:3367)
at patchVnode (vuejs.js:5170)
at updateChildren (vuejs.js:5097)
at patchVnode (vuejs.js:5181)
at VueComponent.patch [as __patch__] (vuejs.js:5306)
at VueComponent.Vue._update (vuejs.js:2327)
at VueComponent.updateComponent (vuejs.js:2443)
But its my fault. I missed the error message from npm:
vue@^2.3.4, required by vue-chartjs@2.7.1
after vuejs update all works fine.
Expected Behavior
I am using the reactiveProp mixin. The chart should update with the new values fetched from the api.
Actual Behavior
It is throwing an Error in the console. Uncaught TypeError: Cannot read property 'chartId' of undefined at getPropDefaultValue (eval at (app.js:814), :1323:14)
at validateProp (eval at (app.js:814), :1287:13)
at updateChildComponent (eval at (app.js:814), :2150:20)
at prepatch (eval at (app.js:814), :3015:3)
at patchVnode (eval at (app.js:814), :4792:7)
at updateChildren (eval at (app.js:814), :4719:9)
at patchVnode (eval at (app.js:814), :4803:29)
at VueComponent.patch [as patch] (eval at (app.js:814), :4927:9)
at VueComponent.Vue._update (eval at (app.js:814), :1992:19)
at VueComponent.updateComponent (eval at (app.js:814), :2095:10)
Environment