zhaojinyu 73e6d881c9 first commit 3 mēneši atpakaļ
..
dist 73e6d881c9 first commit 3 mēneši atpakaļ
docs 73e6d881c9 first commit 3 mēneši atpakaļ
samples 73e6d881c9 first commit 3 mēneši atpakaļ
src 73e6d881c9 first commit 3 mēneši atpakaļ
test 73e6d881c9 first commit 3 mēneši atpakaļ
.eslintignore 73e6d881c9 first commit 3 mēneši atpakaļ
.eslintrc.yml 73e6d881c9 first commit 3 mēneši atpakaļ
.npmignore 73e6d881c9 first commit 3 mēneši atpakaļ
LICENSE.md 73e6d881c9 first commit 3 mēneši atpakaļ
README.md 73e6d881c9 first commit 3 mēneši atpakaļ
book.json 73e6d881c9 first commit 3 mēneši atpakaļ
bower.json 73e6d881c9 first commit 3 mēneši atpakaļ
cc-test-reporter 73e6d881c9 first commit 3 mēneši atpakaļ
gulpfile.js 73e6d881c9 first commit 3 mēneši atpakaļ
karma.config.js 73e6d881c9 first commit 3 mēneši atpakaļ
package.json 73e6d881c9 first commit 3 mēneši atpakaļ
rollup.config.js 73e6d881c9 first commit 3 mēneši atpakaļ

README.md

github travis codeclimate codeclimate

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 unit tests
> gulp test --coverage  // run unit tests and generate code coverage
> gulp lint             // perform code linting
> gulp package          // create an archive with dist files and samples
> gulp docs             // generate GitBook documentation (`dist/docs`)

License

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