You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello,
I'am trying to use your plugin in a Vuejs project but i' can't make it work, a error appear : Cannot read property 'appendChild' of undefined
the error come from your CanvasRenderer class:
varCanvasRenderer=function(el,options){varcachedBackground;varcanvas=document.createElement('canvas');el.appendChild(canvas);// here
I was having a similar problem. The probable cause is calling .easyPieChart() on an element which is not a jQuery object. Maybe you should wait for $(document).ready(..) ? (I don't know VueJS so I can't give you exact answer).
In your case I would check the $('.easypiechart') value.
Aside note: It is possible to import jquery easy-pie-chart with:
hello,
I'am trying to use your plugin in a Vuejs project but i' can't make it work, a error appear :
Cannot read property 'appendChild' of undefined
the error come from your CanvasRenderer class:
The component vue:
The text was updated successfully, but these errors were encountered: