Have ideas to improve npm?Join in the discussion! »

    chartjs-plugin-datalabels
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0 • Public • Published

    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 < 3.x.x.

    See this discussion for compatibility with Chart.js 3.

    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:

    > 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.

    Install

    npm i chartjs-plugin-datalabels

    DownloadsWeekly Downloads

    138,094

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    61.4 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar
    • avatar