JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 738614
  • Score
    100M100P100Q211907F
  • License MIT

Chart.js plugin to display labels on data elements

Package Exports

  • chartjs-plugin-datalabels

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

Downloads Builds Coverage Awesome

Overview

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

Requires Chart.js 2.7.0 or later.

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:

> gulp build            // build dist files
> gulp build --watch    // build and watch for changes
> gulp test             // run all tests
> gulp test --watch     // run all tests and watch for changes
> gulp test --coverage  // run all 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

License

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