Skip to content

Commit

Permalink
Remove autocolors plugin from doc going to Chart.js color plugin (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
stockiNail committed Dec 24, 2022
1 parent fc02ba4 commit ea61c45
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
3 changes: 1 addition & 2 deletions docs/scripts/register.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import Chart from 'chart.js/auto';
import autocolors from 'chartjs-plugin-autocolors';
import plugin from '../../dist/chartjs-plugin-annotation.esm.js';

Chart.register(plugin, autocolors);
Chart.register(plugin);

Chart.register({
id: 'version',
Expand Down
13 changes: 0 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"@typescript-eslint/parser": "^5.4.0",
"babel-loader": "^8.3.0",
"chart.js": "^4.0.1",
"chartjs-plugin-autocolors": "^0.0.5",
"chartjs-test-utils": "^0.5.0",
"concurrently": "^7.0.0",
"cross-env": "^7.0.3",
Expand Down

0 comments on commit ea61c45

Please sign in to comment.