Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chartjs/chartjs-plugin-datalabels
Chart.js plugin to display labels on data elements
https://github.com/chartjs/chartjs-plugin-datalabels
chartjs chartjs-plugin label plugin
Last synced: 3 months ago
JSON representation
Chart.js plugin to display labels on data elements
- Host: GitHub
- URL: https://github.com/chartjs/chartjs-plugin-datalabels
- Owner: chartjs
- License: mit
- Created: 2017-07-01T08:29:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T17:15:22.000Z (10 months ago)
- Last Synced: 2024-05-22T04:04:09.862Z (6 months ago)
- Topics: chartjs, chartjs-plugin, label, plugin
- Language: JavaScript
- Homepage: https://chartjs-plugin-datalabels.netlify.app
- Size: 1.69 MB
- Stars: 857
- Watchers: 23
- Forks: 453
- Open Issues: 82
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - datalabels
README
## Overview
Highly customizable [Chart.js](https://www.chartjs.org/) plugin that displays labels on data for any type of charts.
Requires [Chart.js](https://github.com/chartjs/Chart.js/releases) **3.x** or higher.
## Documentation
- [Introduction](https://chartjs-plugin-datalabels.netlify.app/guide/)
- [Getting Started](https://chartjs-plugin-datalabels.netlify.app/guide/getting-started.html)
- [Options](https://chartjs-plugin-datalabels.netlify.app/guide/options.html)
- [Labels](https://chartjs-plugin-datalabels.netlify.app/guide/labels.html)
- [Positioning](https://chartjs-plugin-datalabels.netlify.app/guide/positioning.html)
- [Formatting](https://chartjs-plugin-datalabels.netlify.app/guide/formatting.html)
- [Events](https://chartjs-plugin-datalabels.netlify.app/guide/events.html)
- [TypeScript](https://chartjs-plugin-datalabels.netlify.app/guide/typescript.html)
- [Migration](https://chartjs-plugin-datalabels.netlify.app/guide/migration.html)
- [Samples](https://chartjs-plugin-datalabels.netlify.app/samples/)## Development
You first need to install node dependencies (requires [Node.js](https://nodejs.org/)):
```
> 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](LICENSE.md).