How to add charts in Angular application | Using chart.js library

preview_player
Показать описание
In this video you will learn how to add charts into your angular application. chartjs is open source javascript library which can be used to display charts in your angular application. in this video you will learn
what are the things should be considered while integrating any third party library into your angular application
how to import chart js in component file
how to register chart for use, in order to avoid potential error like 'bar' is not registered
"pie" is not a registered controller.
"bar" is not a registered controller.
how to add configuration for charts
how to add labels and data for chart configuration
how to create new Chart and pass id and chart configuration
how to display chart in html file using canvas element
how to change bar chart to pie chart quickly
Рекомендации по теме
Комментарии
Автор

Finally. The charts weren't being shown. It didn't leave a trace either. Just configs were missing. Thanks! :)

AbdulRehman-xwpw
Автор

Thank you, the implementation was fast and clear

RodrigoLuna
Автор

Thank you for video, it's helpful

sudoaptinstallbuoncuoi
Автор

is not working with me "Angular 18"

AhmadNasif-mk
Автор

Hi, could you share the project code?

juannexcnn
Автор

my english for watching indians videos is bad bad

MarombeiroNerd