@@WebTechTalk let consider I have a doughnut chart that having two labels only( true(90%) and false(10%) ) if I click on false it (false part) should divided in multiple parts(eg. Error, missing..)
@@SouravMondal-hb8rz If it is bar chart we can use a configuration to convert it to stacked bar chart. I don't know whether we have a stacked doughnut chart. You can also consider drill down charts where on clicking one part you can show more detailed chart.
This could be version mismatch. Please delete node modules folder. Remove ng2-charts and chart js entries from package json and then do npm install first. After that install compatible version of ng2 charts. You can refer documentation for correct version
@@WebTechTalk Thank you very much, you were right, for the version of Angular 13 that I was using I had to use the version of ng2-charts (3.0.8) and chart.js (3.7.0) for it to work perfectly
Simply Explained 👍
Thank you 🙂
Excelente video bro!!!!
Thank you so much bro
Save my life at workplace bro, thank you
Happy to help
Hi sir, I need something like a dot on the bar chart. It is an observation count named in my project. Can I achieve it with the ng2charts or chatsjs?
Yes. Explore Plugins in ChartJS documentation
for people who dont have app.module.ts ,, where will the put the NgChartsModule ?
Usually, you can put in the imports array of the standalone component.
How can i get the subparts after clicking a part of pei chart
Sub parts mean? Could you please provide me more details?
@@WebTechTalk let consider I have a doughnut chart that having two labels only( true(90%) and false(10%) ) if I click on false it (false part) should divided in multiple parts(eg. Error, missing..)
@@SouravMondal-hb8rz If it is bar chart we can use a configuration to convert it to stacked bar chart. I don't know whether we have a stacked doughnut chart. You can also consider drill down charts where on clicking one part you can show more detailed chart.
@@WebTechTalk ok thanks for the response. Can you give some resources how we can create horizontal Bar chart
@@SouravMondal-hb8rz Simple. Instead of chart type as bar, use horizontalBar
Am done with installing the ng2 chatts ad chart.js after that where should i find that ng2charts the one you opend in va code
Are you asking about the line chart component I am opening? That is the component I have created after creating the application.
Bro thank you chatgpt not help me on this but you do
Really thanks
Thank you so much 🙏
sir im getting not yet implemented error,please help
Check whether the chart.js library is installed and imported correctly
Really awesome
Thanks a lot 😊
where can i find this code.. have you uploaded anywhere sir?
Yes. All the codes will be uploaded in this github repo. github.com/freelancer-surender
PARA ANGULAR 18?
This is using Angular 13
*_no bujhi ... may deham looter ..._*
🙂
Buenas tardes, tengo el siguiente error "./node_modules/ng2-charts/fesm2015/ng2-charts.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):"
This could be version mismatch. Please delete node modules folder. Remove ng2-charts and chart js entries from package json and then do npm install first. After that install compatible version of ng2 charts. You can refer documentation for correct version
@@WebTechTalk Thank you very much, you were right, for the version of Angular 13 that I was using I had to use the version of ng2-charts (3.0.8) and chart.js (3.7.0) for it to work perfectly
@@mincha3778 Nice 👍
@@WebTechTalk I got it by exporting the NgChartsModule in app module
@@yugandhargoud45 Did you get the same error?