import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, Legend } from 'recharts'; export interface AccuracyTrendPoint { date: string; overall: number; buy: number; sell: number; hold: number; } interface AccuracyTrendChartProps { height?: number; className?: string; data?: AccuracyTrendPoint[]; } export default function AccuracyTrendChart({ height = 200, className = '', data: propData }: AccuracyTrendChartProps) { const data = propData || []; if (data.length === 0) { return (