From 64578f6ff7258d547558cf7e2530499772121971 Mon Sep 17 00:00:00 2001 From: stockiNail Date: Wed, 21 Sep 2022 13:28:20 +0200 Subject: [PATCH] Remove documentation about datalabels plugin incompatibility --- docs/usage.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index a62b2d3..e1c2e65 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -54,25 +54,6 @@ module.exports = { }; ``` -:::tip - -`chartjs-chart-treemap` is not using any scales currently and thats why [chartjs-plugin-datalabels](https://chartjs-plugin-datalabels.netlify.app/) does not work with it. -When other charts are using datalables on the same page, you'll need to disable the plugin for treemap charts: - -```js -const chart = new Chart(ctx, { - type: 'treemap', - data: [/* (...) */], - options: { - plugins: { - datalabels: false - } - } -}); -``` - -::: - ## Dataset Options Namespaces: