'use client'; import { Bar, BarChart, XAxis } from 'recharts'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; import { ChartConfig, ChartContainer, ChartTooltip, ChartTooltipContent } from '@/components/ui/chart'; import { Badge } from '@/components/ui/badge'; import { Icons } from '@/components/icons'; const chartData = [ { month: 'January', desktop: 186, mobile: 80 }, { month: 'February', desktop: 305, mobile: 200 }, { month: 'March', desktop: 237, mobile: 120 }, { month: 'April', desktop: 73, mobile: 190 }, { month: 'May', desktop: 209, mobile: 130 }, { month: 'June', desktop: 214, mobile: 140 } ]; const chartConfig = { desktop: { label: 'Desktop', color: 'var(--chart-1)' }, mobile: { label: 'Mobile', color: 'var(--chart-2)' } } satisfies ChartConfig; export function BarGraph() { return ( Bar Chart - Multiple -5.2% January - June 2025 value.slice(0, 3)} /> } /> } radius={4} /> } radius={4} /> ); } const CustomHatchedBar = ( props: React.SVGProps & { dataKey?: string; isHatched?: boolean; } ) => { const { fill, x, y, width, height, dataKey } = props; const isHatched = props.isHatched ?? true; return ( <> ); }; const DottedBackgroundPattern = () => { return ( ); };