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
@TheCodeAngle2 жыл бұрын
This is awesome., Leonardo. Thank you very much. Things like this is why I keep making more videos. Cheers!!!
@mzwenkosihlela79893 жыл бұрын
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.
@TheCodeAngle3 жыл бұрын
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
@Wildertech3 жыл бұрын
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.
@TheCodeAngle3 жыл бұрын
Awesome. I'm glad you found it helpful. Thanks for the encouragement. It means a lot!
@just-havingfun4282 жыл бұрын
in my web console : Uncaught (in promise) SyntaxError: Unexpected end of input at getDummyData, can you help me to fix it?
@ГайратМадумаров-ю2я Жыл бұрын
Hello thank you. But i have had Access-Control-Allow-Origin error. Could you reconfig your server please.
@ГайратМадумаров-ю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 Жыл бұрын
You can use CORS anywhere on the client side to avoid CORS error.
@RiyazBaig-yq9fy Жыл бұрын
can you create LineChart using javaScript object data form
@TheCodeAngle Жыл бұрын
Hello. Can you explain further what you mean by JavaScript Object Data Form?
@antoniocv41142 жыл бұрын
Hello Man, do you a version API rest with Chart JS new version Best Regards
@TheCodeAngle2 жыл бұрын
I don't understand this question. Do you mean I should create a new video on the new version of Chart.js?
@vivekpai31572 жыл бұрын
Thank You!!! Great Video !!! This helped a lot
@TheCodeAngle2 жыл бұрын
Awesome. Thanks for watching.
@aryashjain78932 жыл бұрын
Pls help me how to use chartjs with xlsx file
@TheCodeAngle2 жыл бұрын
I don't work with XLSX files. In sure if you search properly on KZbin, you'll find a channel that does that.
@ГайратМадумаров-ю2я Жыл бұрын
Can you describe how to update chart please?
@TheCodeAngle Жыл бұрын
Do you mean updating the chart when the page loads, or at the click of a button?
@ГайратМадумаров-ю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 Жыл бұрын
@@ГайратМадумаров-ю2я I wish I could see the full code, but are you calling the update() method inside of the function?
@xitdedragon3 жыл бұрын
Nice video! Very helpful since I'm just starting out with APIs. Are you from the Caribbean by any chance? Cool accent :)
@TheCodeAngle3 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Are you using the same API in the tutorial?
@tatesfellow35823 жыл бұрын
Thank you! This helped a lot
@TheCodeAngle3 жыл бұрын
You're welcome!!!
@coriariasgibert99453 жыл бұрын
Thank you! 😃😃😃😃 Great Video !!! 💻✨ This helped a lot !!! 🚀🚀🚀