From aefecaedd7b112ba7f2c7778af8c495fa51e3376 Mon Sep 17 00:00:00 2001 From: Neshura Date: Fri, 2 Jun 2023 01:06:15 +0200 Subject: [PATCH] Add ChartJS Plugin for Piechart labels --- package.json | 1 + yarn.lock | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/package.json b/package.json index 147ddc5..d06ea0f 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@types/react-dom": "18.2.4", "autoprefixer": "10.4.14", "chart.js": "^4.3.0", + "chartjs-plugin-datalabels": "^2.2.0", "eslint": "8.41.0", "eslint-config-next": "13.4.4", "googleapis": "^118.0.0", diff --git a/yarn.lock b/yarn.lock index 55199d7..7bb376f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1357,6 +1357,11 @@ chart.js@^4.3.0: dependencies: "@kurkle/color" "^0.3.0" +chartjs-plugin-datalabels@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/chartjs-plugin-datalabels/-/chartjs-plugin-datalabels-2.2.0.tgz#369578e131d743c2e34b5fbe2d3f9335f6639b8f" + integrity sha512-14ZU30lH7n89oq+A4bWaJPnAG8a7ZTk7dKf48YAzMvJjQtjrgg5Dpk9f+LbjCF6bpx3RAGTeL13IXpKQYyRvlw== + chokidar@^3.5.3: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd"