Candlestick Chart in Chart JS 3 with chartjs-financial-plugin
How to create a candlestick chart in Chart JS. Chart JS has a plugin that can draw candlestick charts. This plugin called [chartjs-financial-plugin] is great but lacks documentation as it is not well updated. Luckily just recently they supported Chart JS 3.
To create a candlestick chart we will break it down into very basic elements. The sample might be too advance for so we will simplify it completely. Create own own version with the basic blocks of Chart JS.
For this we do need to use Luxon and Chart Luxon Adapters to make it work. Let's explore how this works.
▬ 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:
▬ Chart JS Viewers Question Series ▬▬▬▬▬▬▬▬▬▬
This is part of the Chart JS Viewers Question series. Where to explore questions from viewers and give an answer.
▬ 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 ▬▬▬▬▬▬▬▬▬▬
Chart JS tutorials for Beginners:
🎓 Beginners Serie:
Chart JS tutorials for Intermediate:
👁️ Most Watched Chart JS Video:
⭐ Personal Favorite Chart JS Video:
Chart JS Dashboard Series:
👍 Most Liked Video Series:
Watch Part 1:
Watch Part 2:
Watch Part 3:
▬ About Us ▬▬▬▬▬▬▬▬▬▬▬▬
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.
We answer questions from YOU (viewers) by creating an answer video that covers the questions YOU have posted in the comment section.
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:
▬ Chart JS 3.5.0 ▬▬▬▬▬▬▬▬▬▬▬▬
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.