d94dfcbfe5ebe472d71ef5e3d88484ea58bc0e8fe22d4312da3f9ece8a38519f8c34bb702c58a26a19a31150125aac68e59d83ce124f2cd6ee2e571cb3ca75 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <div align="center">
  2. <img src="docs/assets/banner.png"/>
  3. </div>
  4. [![github](https://img.shields.io/github/release/chartjs/chartjs-plugin-datalabels.svg?style=flat-square&maxAge=600)](https://github.com/chartjs/chartjs-plugin-datalabels/releases/latest) [![travis](https://img.shields.io/travis/chartjs/chartjs-plugin-datalabels.svg?style=flat-square&maxAge=600)](https://travis-ci.org/chartjs/chartjs-plugin-datalabels) [![codeclimate](https://img.shields.io/codeclimate/c/chartjs/chartjs-plugin-datalabels.svg?style=flat-square&maxAge=600)](https://codeclimate.com/github/chartjs/chartjs-plugin-datalabels) [![codeclimate](https://img.shields.io/codeclimate/maintainability/chartjs/chartjs-plugin-datalabels.svg?style=flat-square&maxAge=600)](https://codeclimate.com/github/chartjs/chartjs-plugin-datalabels)
  5. Highly customizable [Chart.js](http://www.chartjs.org/) plugin that displays labels on data for any type of charts.
  6. Requires [Chart.js](https://github.com/chartjs/Chart.js/releases) **2.7.0** or later.
  7. ## Documentation
  8. - [Installation](https://chartjs-plugin-datalabels.netlify.com/installation)
  9. - [Options](https://chartjs-plugin-datalabels.netlify.com/options)
  10. - [Positioning](https://chartjs-plugin-datalabels.netlify.com/positioning)
  11. - [Formating](https://chartjs-plugin-datalabels.netlify.com/formatting)
  12. - [Samples](https://chartjs-plugin-datalabels.netlify.com/samples)
  13. ## Development
  14. You first need to install node dependencies (requires [Node.js](https://nodejs.org/)):
  15. > npm install
  16. The following commands will then be available from the repository root:
  17. > gulp build // build dist files
  18. > gulp build --watch // build and watch for changes
  19. > gulp test // run unit tests
  20. > gulp test --coverage // run unit tests and generate code coverage
  21. > gulp lint // perform code linting
  22. > gulp package // create an archive with dist files and samples
  23. > gulp docs // generate GitBook documentation (`dist/docs`)
  24. ## License
  25. `chartjs-plugin-datalabels` is available under the [MIT license](LICENSE.md).