Skip to content

Commit

Permalink
chore: try fixing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed Sep 11, 2024
1 parent 11067d0 commit 150874e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/scripts/register.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import Chart from 'chart.js/auto';
import {Chart, registerables} from 'chart.js';
import {TreemapController, TreemapElement} from '../../dist/chartjs-chart-treemap.esm';
import ChartDataLabels from 'chartjs-plugin-datalabels';
import zoomPlugin from 'chartjs-plugin-zoom';

Chart.register(...registerables);
Chart.register(TreemapController, TreemapElement, ChartDataLabels, zoomPlugin);
Chart.defaults.plugins.datalabels.display = false;

Expand Down

0 comments on commit 150874e

Please sign in to comment.