Chart JS For Beginners | Working With A REST API Using JavaScript

  Рет қаралды 17,464

The Code Angle

The Code Angle

Күн бұрын

Пікірлер: 36
@Leonardo-gc5rh
@Leonardo-gc5rh 2 жыл бұрын
01:58 Chart.js 02:19 Creating project 03:36 Connection Bootstrap 04:40 Chart js and its connection. 05:04 Copy the script 05:48 Creating the script and style 06:35 Copying codes from chart 08:57 Fetch and async 11:26 Get Data 12:48 Get individual Data 13:33 Using Map 15:29 Modifying Histogram from Charts. 16:42 Creating axis x, y and label as arrays. 17:02 Modifying dataset with the 3 news arrays 21:00 Creating async function 22:25 Updating x,y, label into de chart.js 23:15 Fixing the error
@TheCodeAngle
@TheCodeAngle 2 жыл бұрын
This is awesome., Leonardo. Thank you very much. Things like this is why I keep making more videos. Cheers!!!
@mzwenkosihlela7989
@mzwenkosihlela7989 3 жыл бұрын
I have been looking for this let me save this video I will watch it later as I continue with my project...sending big thanks from South Africa you've gain a new subscriber.
@TheCodeAngle
@TheCodeAngle 3 жыл бұрын
Thank you very much. It's great to have you onboard. I really appreciate you subscribing, it means a lot. It's great to know you found the video helpful. Also I just created this community on Telegram for the youtube channel. I'll be happy to have you: t.me/thecodeangle
@Wildertech
@Wildertech 3 жыл бұрын
Good video. I needed to see it in HTML so I could understand it before adapting it to my MVC application. Easy to understand. Keep up the good work.
@TheCodeAngle
@TheCodeAngle 3 жыл бұрын
Awesome. I'm glad you found it helpful. Thanks for the encouragement. It means a lot!
@just-havingfun428
@just-havingfun428 2 жыл бұрын
in my web console : Uncaught (in promise) SyntaxError: Unexpected end of input at getDummyData, can you help me to fix it?
@ГайратМадумаров-ю2я
@ГайратМадумаров-ю2я Жыл бұрын
Hello thank you. But i have had Access-Control-Allow-Origin error. Could you reconfig your server please.
@ГайратМадумаров-ю2я
@ГайратМадумаров-ю2я Жыл бұрын
If author doesn't change the server configuration, you can avoid it on the client side kzbin.info/www/bejne/rJDIaIF-lM52oNksi=v6hm6ODBDdtoLBCg
@TheCodeAngle
@TheCodeAngle Жыл бұрын
You can use CORS anywhere on the client side to avoid CORS error.
@RiyazBaig-yq9fy
@RiyazBaig-yq9fy Жыл бұрын
can you create LineChart using javaScript object data form
@TheCodeAngle
@TheCodeAngle Жыл бұрын
Hello. Can you explain further what you mean by JavaScript Object Data Form?
@antoniocv4114
@antoniocv4114 2 жыл бұрын
Hello Man, do you a version API rest with Chart JS new version Best Regards
@TheCodeAngle
@TheCodeAngle 2 жыл бұрын
I don't understand this question. Do you mean I should create a new video on the new version of Chart.js?
@vivekpai3157
@vivekpai3157 2 жыл бұрын
Thank You!!! Great Video !!! This helped a lot
@TheCodeAngle
@TheCodeAngle 2 жыл бұрын
Awesome. Thanks for watching.
@aryashjain7893
@aryashjain7893 2 жыл бұрын
Pls help me how to use chartjs with xlsx file
@TheCodeAngle
@TheCodeAngle 2 жыл бұрын
I don't work with XLSX files. In sure if you search properly on KZbin, you'll find a channel that does that.
@ГайратМадумаров-ю2я
@ГайратМадумаров-ю2я Жыл бұрын
Can you describe how to update chart please?
@TheCodeAngle
@TheCodeAngle Жыл бұрын
Do you mean updating the chart when the page loads, or at the click of a button?
@ГайратМадумаров-ю2я
@ГайратМадумаров-ю2я Жыл бұрын
@@TheCodeAngle I mean update with button or timer. There is something like that: myLineChart.data.datasets[0].data[2] = 50; // Would update the first dataset's value of 'March' to be 50 myLineChart.update(); // Calling update now animates the position of March from 90 to 50. in the docks. But when I try to assign it to global variable myChart = new Chart(ctx, { and then update, I get error that the variable is undefined.
@TheCodeAngle
@TheCodeAngle Жыл бұрын
@@ГайратМадумаров-ю2я I wish I could see the full code, but are you calling the update() method inside of the function?
@xitdedragon
@xitdedragon 3 жыл бұрын
Nice video! Very helpful since I'm just starting out with APIs. Are you from the Caribbean by any chance? Cool accent :)
@TheCodeAngle
@TheCodeAngle 3 жыл бұрын
Thank you very much, I appreciate it. I will create more API related videos, I hope you'll be able to learn more from it. AS for the accent, I'm from Lagos, Nigeria. Lol. I hope to visit the Caribbean sometimes soon.
@webspeople
@webspeople Жыл бұрын
Great Work, Hope your health is good. Your video is very helpful, I am facing an issue. I am getting an error in console. "CORS Policy blocked" my request to fetch data from API. Please help to resolve CORS Policy error.
@TheCodeAngle
@TheCodeAngle Жыл бұрын
Are you using the same API in the tutorial?
@tatesfellow3582
@tatesfellow3582 3 жыл бұрын
Thank you! This helped a lot
@TheCodeAngle
@TheCodeAngle 3 жыл бұрын
You're welcome!!!
@coriariasgibert9945
@coriariasgibert9945 3 жыл бұрын
Thank you! 😃😃😃😃 Great Video !!! 💻✨ This helped a lot !!! 🚀🚀🚀
@TheCodeAngle
@TheCodeAngle 3 жыл бұрын
You're welcome. I'm glad it did!!!
@isidoraaxis6179
@isidoraaxis6179 Жыл бұрын
GREAT!
@TheCodeAngle
@TheCodeAngle Жыл бұрын
Thank you 👏
@PrinceKumar-tl2ut
@PrinceKumar-tl2ut 3 жыл бұрын
thanks man for this video
@TheCodeAngle
@TheCodeAngle 3 жыл бұрын
You're welcome!
@AK243RDC
@AK243RDC 3 жыл бұрын
Thank you very much!
@TheCodeAngle
@TheCodeAngle 3 жыл бұрын
You're welcome.
Integrate Chart.js Using React with Data from a REST API (2022)
24:51
The Code Angle
Рет қаралды 54 М.
Wait… Maxim, did you just eat 8 BURGERS?!🍔😳| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 9 МЛН
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 3,2 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
How to FETCH data from an API using JavaScript ↩️
14:17
Bro Code
Рет қаралды 151 М.
Tips For Using Async/Await in JavaScript
16:26
James Q Quick
Рет қаралды 396 М.
Using Chart.JS in React.JS - A Complete Tutorial (2020)
19:57
Worn Off Keys
Рет қаралды 172 М.
Chart JS Crash Course for Beginners | ChartJS Tutorial
27:50
Vince Polston
Рет қаралды 13 М.
APIs for Beginners 2023 - How to use an API (Full Course / Tutorial)
3:07:07
freeCodeCamp.org
Рет қаралды 2,5 МЛН
1.4: JSON - Working with Data and APIs in JavaScript
16:22
The Coding Train
Рет қаралды 646 М.
Fetch API And Update JSON Data on Click in Chart JS
26:44
Chart JS
Рет қаралды 8 М.
Fetch and Display Advanced JSON Data in Chart JS
23:27
Chart JS
Рет қаралды 54 М.
Wait… Maxim, did you just eat 8 BURGERS?!🍔😳| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 9 МЛН