Skip to content

Commit

Permalink
docs: add BarController, LineController so multitype chart sample wor…
Browse files Browse the repository at this point in the history
…ks after build (#1064)
  • Loading branch information
Arantiryo authored Jul 27, 2022
1 parent 59b64fe commit 0164af9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sandboxes/chart/multitype/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import {
LineElement,
Legend,
Tooltip,
LineController,
BarController,
} from 'chart.js';
import { Chart } from 'react-chartjs-2';
import faker from 'faker';
Expand All @@ -19,7 +21,9 @@ ChartJS.register(
PointElement,
LineElement,
Legend,
Tooltip
Tooltip,
LineController,
BarController
);

const labels = ['January', 'February', 'March', 'April', 'May', 'June', 'July'];
Expand Down

0 comments on commit 0164af9

Please sign in to comment.