ocr / src /chartSetup.js
ariansyahdedy's picture
Initial commit with clean Git repository
4fb0c68
raw
history blame contribute delete
359 Bytes
import {
Chart as ChartJS,
CategoryScale,
LinearScale,
PointElement,
LineElement,
BarElement,
ArcElement,
Title,
Tooltip,
Legend,
} from 'chart.js';
ChartJS.register(
CategoryScale,
LinearScale,
PointElement,
LineElement,
BarElement,
ArcElement,
Title,
Tooltip,
Legend
);