dev
RekHoto 3 years ago
parent 5e740b81db
commit 90d18d8489

@ -6,13 +6,14 @@ import {
BarElement, BarElement,
Title, Title,
Tooltip as ChartTooltip, Tooltip as ChartTooltip,
Legend, PointElement, LineElement, Legend, PointElement, LineElement, BarController,
} from 'chart.js'; } from 'chart.js';
import { useQuery } from "@tanstack/react-query"; import { useQuery } from "@tanstack/react-query";
import { api } from "../api.js"; import { api } from "../api.js";
ChartJS.register( ChartJS.register(
CategoryScale, CategoryScale,
BarController,
PointElement, PointElement,
LineElement, LineElement,
LinearScale, LinearScale,

Loading…
Cancel
Save