Package Exports
- chartjs-plugin-datalabels
- chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js
- chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chartjs-plugin-datalabels) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Overview
Highly customizable Chart.js plugin that displays labels on data for any type of charts.
Requires Chart.js 3.x or higher.
Documentation
- Introduction
- Getting Started
- Options
- Labels
- Positioning
- Formatting
- Events
- TypeScript
- Migration
- Samples
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.