Guys please do like and subscribe as 80% of views are not subscribed yet, subscribing is free as well as sharing, liking and commenting to motivate us to keep going. Thank you very much for watching
@sachinkumarsingh3909 Жыл бұрын
what if i have to use dynamic data? how to use chart.update() function here? I am not able to update it dynamically
@cypcode Жыл бұрын
Hi Sachin thanks for watching. That should be fairly easy, so what you need to do is in the chart function in the service you can return the chart and when calling the chart function you set the chart into a variable that you can then use to update the chart after your data changes. Example: var singleChart; singleChart = chartService.single(); After data changes call bellow singleChart.update();
@nachocapra1848 Жыл бұрын
After doing everything, I got the error message Error: Module not found: Error: Package path ./dist is not exported from package Is there something that I am missing? Thanks for the video
@nachocapra1848 Жыл бұрын
NMV I solved it, thanks for the video
@cypcode Жыл бұрын
Awesome. Happy you solved it, would be exciting for you to share your fix as well for other devs. Help grow the community
@Zewalk2 жыл бұрын
Not Working😥😥
@cypcode2 жыл бұрын
Hello, @Zewalk thank for checking out the video, just some details on your comment please. Did you pass in the correct context to the chart function? The context would be the canvas id from your html
@Zewalk2 жыл бұрын
@@cypcode Yes, I passed the id, but no need.
@ahmadshamouka202 Жыл бұрын
it worked thanks for help
@cypcode Жыл бұрын
You're welcome! Always here to help. Do shout if you need a code review as well