1659838477 How to Create a Stock Market Chart Like Coinmarketcap in

How to Create a Stock Market Chart Like Coinmarketcap in Chart JS Part 48

YouTube video


How to Create a Stock Market Chart Like Coinmarketcap in Chart JS Part 48

In this video we will explore how to create a stock market chart like coinmarketcap in chart js. This is part 48 of the Coinmarketcap Chart.js Series. We will continue where we left off previously. Creating the drag functionality.

Entire Video Series: https://youtube.com/playlist?list=PLc1g3vwxhg1UlBvTOSZ3VJUjC_s6S2cMD

Have you missed out other parts? See below:
Watch Part 1: https://youtu.be/Q8np-7coqho
Watch Part 2: https://youtu.be/ihhyO18tKa8
Watch Part 3: https://youtu.be/njOFl41QaIs
Watch Part 4: https://youtu.be/M3SOJJOf6L8
Watch Part 5: https://youtu.be/f7fJAnvCbiY
Watch Part 6: https://youtu.be/CX5RJAFs-HM
Watch Part 7: https://youtu.be/sDbWjrdb_gQ
Watch Part 8: https://youtu.be/n50K_SnRvZo
Watch Part 9: https://youtu.be/JXC6JigzRJE

Watch Part 31: https://youtu.be/yybSnH2LlEg
Watch Part 32: https://youtu.be/tnBNh4r0Wow
Watch Part 33: https://youtu.be/CmkaDDslALw
Watch Part 34: https://youtu.be/QMCPwOuFYLY
Watch Part 35: https://youtu.be/bqG13sTupLg
Watch Part 36: https://youtu.be/v5Vf8U3A8ZI
Watch Part 37: https://youtu.be/MR2iRjb3fkM
Watch Part 38: https://youtu.be/qmJP7FzX9qo
Watch Part 39: https://youtu.be/IZZ7392YZek
Watch Part 40: https://youtu.be/xSZt-rUsL5w
Watch Part 41: https://youtu.be/Osde8Ybd32U
Watch Part 42: https://youtu.be/aegPLu6iZtg
Watch Part 43: https://youtu.be/QKGS1txFpco
Watch Part 44: https://youtu.be/aegPLu6iZtg
Watch Part 45: https://youtu.be/OScVIgpqKME
Watch Part 46: https://youtu.be/xxdfM0ZPXqc
Watch Part 47: https://youtu.be/Kn75zAqbbXE

Let’s explore how to do this.

▬ Chartjs Source Code ▬▬▬▬▬▬▬▬▬▬

Get source code: https://www.patreon.com/chartjs

▬ Chartjs Viewers Question Series ▬▬▬▬▬▬▬▬▬▬

This is part of the Chartjs Viewers Question series. Where we answer viewer questions. This question was asked by one of our viewers.

▬ Materials/References ▬▬▬▬▬▬▬▬▬▬

To keep the video short we might expect you to know parts. These parts we have explained in other videos. You can find the references here below:

Understand setup, config and render init blocks: https://youtu.be/pFuibt5HNog
Starting Code: https://www.chartjs3.com/docs/chart/g

Understanding Object Destructuring in Chart JS: https://youtu.be/_ZxfcJaSyuI
Understanding ChartArea in Chart JS: https://youtu.be/NgCHY3RVhEY

▬ Got a Question? Comment! ▬▬▬▬▬▬▬▬▬▬

Got a question or special request about a specific item? Comment below and tell me your question. I will make sure to follow up on you!

▬ Find Me Here ▬▬▬▬▬▬▬▬▬▬

Blog: https://www.chartjs3.com/chart-js-blog/
Website: https://www.chartjs3.com
Udemy Course: https://www.udemy.com/course/chart-js

Chart JS tutorials for Beginners:
🎓 Beginners Serie: https://www.youtube.com/watch?v=W6ai7

Chart JS tutorials for Intermediate:
👁️ Most Watched Chart JS Video: https://www.youtube.com/watch?v=4jfcx
⭐ Personal Favorite Chart JS Video: https://www.youtube.com/watch?v=PuFYW

Chart JS Dashboard Series:
👍 Most Liked Video Series:
Watch Part 1: https://youtu.be/l3MnVpiHXBU
Watch Part 2: https://youtu.be/fDUo-LbrRSo
Watch Part 3: https://youtu.be/xlt5dDa8rz4

▬ About Us ▬▬▬▬▬▬▬▬▬▬▬▬

Why we created these #chartjs and #javascript video tutorials?

WHY
Creating charts in javascript is very rewarding but extremely challenging. The Chart JS library made it easier to render charts. However the chart js documentation is hard to understand for many. It requires a lot of different moving parts to work along. The canvas tag, javascript, arrays and Chart JS all need to be combined to draw an eye catching bar chart or line chart.

The videos explains the chart js documentation in a more visual and easy to understand way. You can follow along with the code and quickly grasp how it works. We cover the code in chart js but also what truly happens and why something happens when we write a line of code. This fundamental understanding gives clarity to you as a developer in chartjs. In short it is the Chart JS video documentation.

HOW
We answer questions from YOU (viewers) by creating an answer video that covers the questions YOU have posted in the comment section.

WHAT
Our goal is to help YOU learn how to draw charts in Chart JS by showing you in video format how to do it.

Chart JS Video Documentation Site: https://www.chartjs3.com

▬ Chart JS 3.8.2 ▬▬▬▬▬▬▬▬▬▬▬▬

Chart JS is a javascript library to draw charts in the canvas tag on your site. Presenting data in a visual manner such as charts is more effective and appealing. All the charts are always coded in the latest Chartjs version which is as of this recording Chart JS 3.8.2.

What type of charts can you make with Chart.JS?
With chart js you can make line chart, bar chart, pie chart, doughnut chart, scatter chart, polar area chart, radar chart, gauge chart and area chart. And with some clever tricks and visual adjustment more can be done.

source

Check Also

binance coinmarketcap инвестирование криптовалюта btc dodo

#binance #coinmarketcap #инвестирование #криптовалюта #btc #dodo

source

5 comments

  1. Hi,
    you made a really good videos.
    I have a problem with the dates, when i zoomin the chart and place the mouse under the chart of bar, the dates superimpose and looks bad.
    its like the dates of the chart primary try to synchronize between them.
    you cant help with that??

  2. Hi,
    please can you help me, how can i save my chart for future and in future I can also edit that saved chart. also I can create new chart and this chart is dynamic.

  3. More ideas:
    Saw the video about applying different timeframes, switchable per button (but with local and hardcoded data). Would upgrade this chart immensely to know how to chart data from different APIs in one chart, say hourly timeframes, daily (which e.g. in CoinGeckos case are different APIs) switchable per button.

    Specially for crypto assets the comparison between an asset and BTC and/or ETH (so the asset vs BTC or ETH instead of USD e.g.) are also like a benchmark and very important. Like the Coingecko approach, where you have the option to click either BTC or ETH to display on the same chart but in a different colour.

    Also something useful would be to know how to set the displayed data to, say, the latest 2 weeks, then if the user wants he can zoom out to see the whole chart.

    Got plenty more ideas if its of any use to you, just let me know.

  4. The only thing missing for me now is the structure of everything if you pair it with live API data. Been playing around a lot but couldn't figure it out so far. Would greatly appreciate if you could take a look at this or provide a video specially for this chart showing how to do it. Many thanks for your great work! 🙂

  5. Yessss! Thank you!