Chart.js plugin to display labels on data elements
Clone or download
Latest commit 8ceae82 Dec 11, 2018

Downloads Builds Coverage Maintainability


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

Requires Chart.js 2.7.0 or later.



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

> npm install

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

> gulp build            // build dist files
> gulp build --watch    // build and watch for changes
> gulp test             // run unit tests
> gulp test --coverage  // run unit tests and generate code coverage
> gulp lint             // perform code linting
> gulp package          // create an archive with dist files and samples
> gulp docs             // generate documentation (`dist/docs`)
> gulp docs --watch     // generate documentation and watch for changes


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