// Line Chart Component (Recharts wrapper) import { LineChart as RechartsLineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts'; interface LineChartProps { data: Array>; dataKey: string; lines: Array<{ key: string; name: string; color: string; }>; height?: number; xAxisKey?: string; } export default function LineChart({ data, dataKey, lines, height = 300, xAxisKey = 'date' }: LineChartProps) { return ( {lines.map((line) => ( ))} ); }