Skip to content

chartjs/chartjs-plugin-datalabels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

61e3890 · Dec 10, 2022
Dec 10, 2022
Dec 10, 2022
May 20, 2021
Jul 26, 2022
Dec 1, 2022
Jul 26, 2022
Jul 26, 2022
Jan 5, 2021
May 15, 2021
Jun 27, 2021
Mar 8, 2021
Dec 10, 2022
Dec 1, 2022
Dec 1, 2022
Dec 1, 2022
Apr 12, 2021

Repository files navigation

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.