chartjs/chartjs-plugin-datalabels

Chart.js plugin to display labels on data elements

JavaScript

921

137 commits

updated Jan 17, 2024

See the code

README

Downloads Builds Coverage Awesome

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.

chartjs
chartjs-plugin
label
plugin

chartjs/chartjs-plugin-datalabels

Chart.js plugin to display labels on data elements

JavaScript

921

137 commits

updated Jan 17, 2024

See the code

README

Downloads Builds Coverage Awesome

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.

chartjs
chartjs-plugin
label
plugin

Project health

Overall

3.3/10

Maintained

0/10

Code review

2/10
OpenSSF Scorecard

Latest release

2.2.0 · Dec 10, 2022

Releases this year

0

Significant stargazers

Maja Kądziołka

291 followers · starred Feb 2018

zhiyuanzmj

162 followers · starred Nov 2023

Joe Bordes

61 followers · starred Mar 2020

marak.eth

4,545 followers · starred Feb 2018