ghost-portal/packages/react-components/src/Chart/index.ts
2022-02-24 12:18:24 +00:00

17 lines
456 B
TypeScript

// Copyright 2017-2022 @polkadot/react-components authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { CategoryScale, Chart, LinearScale, LineElement, PointElement, Title, Tooltip } from 'chart.js';
import Doughnut from './Doughnut';
import HorizBar from './HorizBar';
import Line from './Line';
Chart.register(CategoryScale, LinearScale, LineElement, PointElement, Title, Tooltip);
export default {
Doughnut,
HorizBar,
Line
};