import { AnimatedAxis, // any of these can be non-animated equivalents AnimatedLineSeries, XYChart, buildChartTheme } from "@visx/xychart" import { curveCardinal } from "@visx/curve" import { InfoIcon } from "./icons" type Coords = { x: string y: string } type UsageChartProps = { label: string dataset: Coords[] } const accessors = { xAccessor: (d: Coords) => d.x, yAccessor: (d: Coords) => d.y } const customTheme = buildChartTheme({ colors: ["hsl(var(--ring))"], backgroundColor: "hsl(var(--primary-2))", gridColor: "hsl(var(--primary-2))", gridColorDark: "hsl(var(--primary-2))", tickLength: 8, xAxisLineStyles: { strokeWidth: 1 } }) export const UsageChart = ({ label, dataset }: UsageChartProps) => { return (