GitPedia

Chartjs plugin datalabels

Chart.js plugin to display labels on data elements

From chartjs·Updated May 20, 2026·View on GitHub·

Highly customizable [Chart.js](https://www.chartjs.org/) plugin that displays labels on data for any type of charts. The project is written primarily in JavaScript, distributed under the MIT License license, first published in 2017. Key topics include: chartjs, chartjs-plugin, label, plugin.

Latest release: v2.2.0Version 2.2.0
December 10, 2022View Changelog →
<p align="center"> <img src="docs/.vuepress/public/hero-title.svg?sanitize=true"> </p> <p align="center"> <a href="https://chartjs-plugin-datalabels.netlify.app/guide/getting-started.html"><img src="https://img.shields.io/github/release/chartjs/chartjs-plugin-datalabels.svg?style=flat-square&maxAge=600" alt="Downloads"></a> <a href="https://travis-ci.org/chartjs/chartjs-plugin-datalabels"><img src="https://img.shields.io/travis/chartjs/chartjs-plugin-datalabels.svg?style=flat-square&maxAge=600" alt="Builds"></a> <a href="https://codeclimate.com/github/chartjs/chartjs-plugin-datalabels"><img src="https://img.shields.io/codeclimate/c/chartjs/chartjs-plugin-datalabels.svg?style=flat-square&maxAge=600" alt="Coverage"></a> <a href="https://github.com/chartjs/awesome"><img src="https://awesome.re/badge-flat2.svg" alt="Awesome"></a> </p>

Overview

Highly customizable Chart.js plugin that displays labels on data for any type of charts.

Requires Chart.js 3.x or higher.

Documentation

Development

You first need to install node dependencies (requires Node.js):

> npm install

The following commands will then be available from the repository root:

> npm run build            // build dist files
> npm run build:dev        // build and watch for changes
> npm run test             // run all tests and generate code coverage
> npm run test:dev         // run all tests and watch for changes
> npm run lint             // perform code linting
> npm run lint -- --fix    // automatically fix linting problems
> npm run docs             // generate documentation (`dist/docs`)
> npm run docs:dev         // generate documentation and watch for changes

License

chartjs-plugin-datalabels is available under the MIT license.

Contributors

Showing top 10 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from chartjs/chartjs-plugin-datalabels via the GitHub API.Last fetched: 6/18/2026