If you get this : Error: "linear" is not a registered scale. Do This : import { Chart, registerables } from 'chart.js'; Chart.register(...registerables);
Hi, shouldn't we create a new function inside our component.ts to put our chart in ? Because ngOnInit() runs code before the canvas get created no ? (im a beginner trying to understand)
this code won't work now , so you need to add the registerable for it to work , Chart.register(LinearScale); Chart.register(BarController); Chart.register(CategoryScale); Chart.register(BarElement);
Can we print the UI screen according to the response we are getting . For example if response says to print pie chart then print PIE CHART in UI .. if table then table ?
Hi Nitij, I appreciate your work but have to provide you one comment. Please don't create videos where you simply copy pasting the code and show to users, this can be done by searching on google. Instead showcase or provide some real world project example with your own research. I hope you will take this comment positively and understand my point. Thanks
6:24 - Everything after Installing Angular
I used everything same as per ur video but in my app, it was showing only " Chart view works".. Chart is not visible..
Was the chart visible later?
Me too
Me too
Yes chart is not visible
@@garimaverma_3952 import {registerables} from 'chart.js';
Chart.register(...registerables);
By adding this I was able to see chart.
If you get this :
Error: "linear" is not a registered scale.
Do This :
import { Chart, registerables } from 'chart.js';
Chart.register(...registerables);
I'm wondering why the instructor didn't get this error
Thanks! i had this problem too
Hi, shouldn't we create a new function inside our component.ts to put our chart in ? Because ngOnInit() runs code before the canvas get created no ? (im a beginner trying to understand)
The visual studio code console stated that the error is Failed to create chart: can't acquite context from given time. How do I solve it ya?
Thanks man i was searching for this for a lot of time and this helped me!!👌👌😊😊😁😁❤❤
Exactly the thing I was looking for!! Muchas gracias
I did same as u but getting an error of - Error: "linear" is not a registered scale.
chart.js 3.2.0
angular 11
Solution:
import { Chart, registerables } from 'chart.js';
Chart.register(...registerables);
@@gabrielpadilla9707 god
Thanks guys, found the same error!
@@gabrielpadilla9707 actually my chart itself was not visible in browser ..your code helped me...thanks so much
Thank you sooo much. This was awesome!
this code won't work now , so you need to add the registerable for it to work ,
Chart.register(LinearScale);
Chart.register(BarController);
Chart.register(CategoryScale);
Chart.register(BarElement);
Hi how can we delete background check boxes
Thank you very much brother... I really appreciate your hard work
Can we print the UI screen according to the response we are getting . For example if response says to print pie chart then print PIE CHART in UI .. if table then table ?
any idea for printing? i could not find anything
Thank you very much for the video!
Hello! thank you for this. Please create an ionic tutorial of chart.js but the data will be coming from sqlite.
Noted.
@@CodeRadiance subscribed! thank you so much!! i'd be looking forward to it.
Very Good Explanation and can we create a dashboard using excel data as an input in Angular . Please make a video if possible.
Maybe there is a library to import excel data. Rest is just business logic and UI controls for the dashboard.
Thanks for uploading the video. please share link for chart code from angular site., or may be the code of final HTML edited in this tutorial.
Thank you so much.
Thanks for sharing. Could you please suggest how can I create only one stacked bar with 3 colours/values using Chart.js. Is it possible with Chart.js?
I can only suggest to look into the documentation if it's supported.
@@CodeRadiance Hi, it support by chart.js, I have developed it. Thank u for reply.
You save me !, thanks
Can you tell how to upload a excel sheet in angular and showing a graph for the values present in excel sheet???
hey did you find the solution, i am also looking for the same
Have you find it... please share it with also
More than 60% of the video is teaching how to make a new angular app, create component, a lot of wasted time here
6:24
Thank you so much 😊
Module not found: Error: Can't resolve 'node_modules/chart.js'
did you resolve the probleme ?
Can you tell me..the link for code that you are copying
Can you please please do this with an API?
Thank u very much bro
You are great..🤝 please upload more videos about type of charts and specially map concept I 'm waiting for your rpy also your next video
Sure I will!
@@CodeRadiance thanks
Really superb
nice ..please upload more videos..
this is video about installing of angular...
hi,
how do we use onClick to get information from the chart ?
thx
thank you!
Hi Nitij, I appreciate your work but have to provide you one comment. Please don't create videos where you simply copy pasting the code and show to users, this can be done by searching on google. Instead showcase or provide some real world project example with your own research. I hope you will take this comment positively and understand my point. Thanks
doesnt work, dislike
hey, how to fetch data from firebase and push it to chart?