import { CategoricalChart, NumericChart, } from "@/src/features/scores/components/ScoreChart"; import { type TimeseriesChartProps } from "@/src/features/scores/types"; function ChartWrapper(props: { title: string; children: React.ReactNode }) { return (
{props.title}
{props.children}
); } export function TimeseriesChart({ chartData, chartLabels, title, type, index, maxFractionDigits, }: TimeseriesChartProps) { const chartIndex = index ?? "binLabel"; return (
{type === "categorical" ? ( ) : ( )}
); }