ples work now xoxo
All checks were successful
Deploy Website / deploy (push) Successful in 5m48s

This commit is contained in:
Lee 2024-10-15 04:21:53 +01:00
parent b803362360
commit 005e05d8fb

@ -1,23 +1,13 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
"use client";
import {
BarElement,
CategoryScale,
Chart,
Legend,
LinearScale,
LineElement,
PointElement,
Title,
Tooltip,
} from "chart.js";
import { Chart, registerables } from "chart.js";
Chart.register(...registerables);
import { Line } from "react-chartjs-2";
import { useIsMobile } from "@/hooks/use-is-mobile";
import { formatDateMinimal, getDaysAgo, getDaysAgoDate, parseDate } from "@ssr/common/utils/time-utils";
Chart.register(LinearScale, CategoryScale, PointElement, LineElement, BarElement, Title, Tooltip, Legend);
export type AxisPosition = "left" | "right";
export type DatasetDisplayType = "line" | "bar";