import React from 'react' import { AreaChart, Area, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts' import type { MetricPoint } from '../App' import { panelStyle, titleStyle } from '../App' interface Props { data: MetricPoint[] } const CustomTooltip = ({ active, payload, label }: any) => { if (!active || !payload?.length) return null return (