import React from 'react'; import { Bar, BarChart, CartesianGrid, Rectangle, ResponsiveContainer, Tooltip, XAxis, YAxis, } from 'recharts'; interface Payload { value?: number; name?: string; dataKey?: string | number; } interface CustomTooltipProps { active?: boolean; payload?: readonly Payload[]; label?: string | number; } interface BarChartData { name: string; uv: number; } interface UniformityBarChartProps { data: BarChartData[]; } function CustomTooltip({ payload, label, active }: CustomTooltipProps) { if (active && payload && payload.length && label !== undefined) { const labelStr = String(label); return (
Uniformity 2025