If you are getting a CORS error or 403 forbidden error in the console, click on the error link, it will take you to another page. On this page, click on the "request temporary access to demo server" button. Then go back and refresh your page. The errors should disappear after that.
@mv7413
3 жыл бұрын
Thanks it worked !
@TheCodeAngle
3 жыл бұрын
Awesome! I'm glad it finally did.
@victormartinsdev
2 жыл бұрын
Its working yet!
@TheCodeAngle
2 жыл бұрын
@@victormartinsdev Do you mean its working?
@victormartinsdev
2 жыл бұрын
@@TheCodeAngle Yeah bro!
@catalyysst
2 ай бұрын
2 years later it's still working, thanks so much 🙏
@TheCodeAngle
2 ай бұрын
Awesome. So, glad to hear that. Well done.
@catalyysst
2 ай бұрын
@@TheCodeAngle Which do you think is better? Using ng2-charts or just straight chart.js ? Both of them seem to be working for me but I'm not sure which is best.
@TheCodeAngle
2 ай бұрын
@@catalyysst I usually make decisions on libraries based on the weekly downloads and maintenance on their npm pages. I think both a well supported, but chart.js is more reliable and well used compared to ng2-charts. Here is a link to their npm pages to have a better context: ng2-charts(www.npmjs.com/package/ng2-charts) chart.js (www.npmjs.com/package/chart.js?activeTab=readme)
@joaopedrobattistellanadas5113
2 жыл бұрын
Amazing content! For a beginner, this was super easy to follow, but at the same time with good explanations on why you were doing things. Keep it up!
@TheCodeAngle
2 жыл бұрын
Thank you Sir for your Kind words. It means a lot!!!
@JabiyBog
2 жыл бұрын
Thank you very much. I don't know how I would have solved this problem without you
@TheCodeAngle
2 жыл бұрын
You're welcome. I am glad to be of help.
@eduardodiaz5418
2 жыл бұрын
Thanks a lot!! This was very helpful and easy to understand. I was able to get my personal API data to chart out bc of your great instruction. :)
@TheCodeAngle
2 жыл бұрын
Excellent. I'm glad the video was helpful to you. Cheers!!!
@misaelcostahomem7999
6 ай бұрын
Hello Deji, how do you update the graph? Let's say I need to update the chart, considering filters and a button to search again, how would it be possible to do this in Angular?
@ashiktm5631
2 жыл бұрын
thanks...i was looking for registrable for hours
@TheCodeAngle
2 жыл бұрын
You're welcome. Glad you found your answer here.
@deeksha6514
2 жыл бұрын
Nice Tutorial! Thanks. Please make a tutorial on integrating ngx charts in angular.
@TheCodeAngle
2 жыл бұрын
You're welcome. I'll look into ngx charts. Watch out for that one.
@gabrielleandrade4115
3 жыл бұрын
Thanksss, this video helped me a lot!!!!
@TheCodeAngle
3 жыл бұрын
Awesome!! I'm glad it did. Look out for more great content!!!
@didottigaming6225
2 жыл бұрын
the .toPromise() function going to be deprecated , how can i replace it ? 04/09/2022
@TheCodeAngle
2 жыл бұрын
Use lastValueFrom instead. The link below shows how you can import it from rxjs: indepth.dev/posts/1287/rxjs-heads-up-topromise-is-being-deprecated
@didottigaming6225
2 жыл бұрын
@@TheCodeAngle ok , i check it thanks
@didottigaming6225
2 жыл бұрын
SO , i've tried with lastValueFrom instead , like this : async productData(){ const url = `${this.url}`; await lastValueFrom(this.http .get(url, this.httpOptions)) .then((data) => { // console.log(data) return data; }) } and when i wrote the : console.log(this.result) in component.ts i have just an undefined message in the console and for this.productPrice = this.result.data.title.product.map((product:any) => product.price ) I have an error ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'data') chartjs i don't know why :/ but thank you for the tuto PS: I don't use the API in the video , i tried to display data from my Database 'Product'
@TheCodeAngle
2 жыл бұрын
I haven't used lastValueFrom before. So what ill do is try it out with the API in this tutorial and see if it works.
@didottigaming6225
2 жыл бұрын
@@TheCodeAngle OK , thank you very much :D
@MrGonzalezGerman
2 жыл бұрын
Thank you so much for the video! Very good my man, one question, on reference to Auth.service.ts, when we're making the get request, and we use .topromise() the editor says that it's deprecated, what you should use next instead? observables?
@TheCodeAngle
2 жыл бұрын
You're welcome. I'll have to take a second look at this. I'll reply again before the end of the week. Cheers and thanks for watching.
@alfredoperez1498
2 жыл бұрын
Excellent video, could you make a method to show the most expensive or the cheapest coins, or only bring the name of the most expensive of the moment? please.
@TheCodeAngle
2 жыл бұрын
Yes, I could do that. But I don't plan on using the Coinranking API anytime soon. But next time I do, I'll implement that logic. Thank you for the suggestions.
@nithinsamuel9995
2 жыл бұрын
Thanks Nice Video...Subscribed :)
@TheCodeAngle
2 жыл бұрын
You're welcome. I appreciate you for watching and subscribing.
@rushikeshjagtap4263
2 жыл бұрын
good explaination brother
@TheCodeAngle
2 жыл бұрын
Thank you brother, I appreciate it.
@draganremovic4896
2 жыл бұрын
hello bro, i follow all your steps, but show me undefined array... Can you help me why?
@TheCodeAngle
2 жыл бұрын
Are you using the same API used in the tutorial? Or do you have your own API?
@williamwhang
2 жыл бұрын
Thansk mate!!! Help a lot!!! lol
@TheCodeAngle
2 жыл бұрын
Great. I'm glad to hear that!
@nagarajuvelpula5492
2 жыл бұрын
im getting error,,, ERROR TypeError: Cannot read properties of undefined (reading 'coins')
@TheCodeAngle
2 жыл бұрын
Were you able to log the coins data into the console?
@nagarajuvelpula5492
2 жыл бұрын
@@TheCodeAngle you displaying the coinprice and coinname .in chart....... in my project...i want to show the months and revenues in the chart....like that im replacing your coinprice to revenues and coinname to monts.....till now fine...but whats the coin.map....i didnt understand
@nagarajuvelpula5492
2 жыл бұрын
@@TheCodeAngle in console.....im getting revenues and months.....
@TheCodeAngle
2 жыл бұрын
@@nagarajuvelpula5492 Are you trying to use the data from Coin Rankling API to show revenue and month? or do you have your own data? Also, coin.mao used to loop through all the data inside of the array, so I can have access to the coin-name and the coin-price.
@TheCodeAngle
2 жыл бұрын
@@nagarajuvelpula5492 which API are you using? can you paste the response from the console on here?
@Miguel-zb1ck
2 жыл бұрын
Thanks you good sir
@TheCodeAngle
2 жыл бұрын
You're welcome.
@mashiyathusain0609
2 жыл бұрын
Hello sir how to do same with my .net api
@TheCodeAngle
2 жыл бұрын
I focus mostly on JavaScript content. I've never touched .net
@mazwrld
2 жыл бұрын
thank you!!
@TheCodeAngle
2 жыл бұрын
You're welcome!
@swetakumari1050
3 жыл бұрын
Thank You.
@TheCodeAngle
3 жыл бұрын
You're welcome!!
@jubrilhassan4482
2 жыл бұрын
Hello, please share the link to your telegram channel
@TheCodeAngle
2 жыл бұрын
All right. Here it is : t.me/thecodeangle
@thehulk2642
2 жыл бұрын
thanks😂
@TheCodeAngle
2 жыл бұрын
You're welcome!
@thehulk2642
2 жыл бұрын
@@TheCodeAngle please make a video on importing jquery-ui and implementing datepicker and tabs. This would be great help.
@TheCodeAngle
2 жыл бұрын
@@thehulk2642 Sadly I don't intend to create any jquery content on this channel. I don't think it will be beneficial to a lot of people compared to React, Angular, e.t.c.
@thehulk2642
2 жыл бұрын
@@TheCodeAngle I was saying to import jquery-ui in angular and creating datepicker and tab. Is there any datepicker control in angular. Thanks
@TheCodeAngle
2 жыл бұрын
@@thehulk2642 Okay. I haven't used jquery-ui before. I'll have to look into it before I can structure content around it.
@chenghuichao3653
3 жыл бұрын
the music is too loud, scared me, haha
@TheCodeAngle
3 жыл бұрын
Ha, ha. Scared me too :-)
@mysocial
2 жыл бұрын
lot of time waste on details unrelated with the main topic
@TheCodeAngle
2 жыл бұрын
Your observations are duly noted going forward. Thank you.
@eduardodiaz5418
2 жыл бұрын
@@TheCodeAngle I personally didn't need the first bit about setting up the project, but it was helpful for me to understand that this content was a good fit for my issue. Thanks, I was able to get my chart up. :)
@TheCodeAngle
2 жыл бұрын
You're right, Eduardo. It's why I break the video into chapters, so the introduction can easily be skipped.
Пікірлер: 76