Understanding difference between time and timeseries in Chart JS

In Chart.js we often have to draw charts with specific dates. If you are creating a stock market chart where your chart has data for the weekdays only you will have missing or static data the weekends and public holidays. This might be undesirable and you might want to remove those specific dates to keep… Continue reading Understanding difference between time and timeseries in Chart JS

How to add data label only to the last data point of a line chart | Chart.js

Let’s explore how to add data label only to the last data point in Chart js 3. To do this we will need the use of the chartjs-plugin-datalabels or also known as the chartjs data labels plugin. In Chartjs, chart.js or chart js you can do many things but for this we will use a… Continue reading How to add data label only to the last data point of a line chart | Chart.js

barPercentage and categoryPercentage in Chart JS

One of the more complicated matters is the barPercentage and categoryPercentage in Chart JS. While both are very essential they might be confusing. The Chart.js documentation does explain it in a closely visual manner it is not clear for most. barPercentage vs categoryPercentage in Chart JS This video will show you how the barPercentage and… Continue reading barPercentage and categoryPercentage in Chart JS

How to Add Custom Annotation Line on Hover in Chart JS

How to add custom annotation line on hover in Chart JS How to add a custom annotation line on hover in Chart js. An annotation line is a line usually vertical or horizontal line that highlights a specific point. Usually to indicate an important event on the chart or precisely see the exact data point… Continue reading How to Add Custom Annotation Line on Hover in Chart JS

What is chart JS used for?

What is Chart js, and what is Chart js used for? Chart js helps you draw charts and visualize data in a quick and easy manner with Javascript. Chart js is an open-source javascript library and is a well-known chart drawing library in Javascript. It comes with 8 different types of charts such as bar… Continue reading What is chart JS used for?