"use client"; import { Label, PolarRadiusAxis, RadialBar, RadialBarChart } from "recharts"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { type ChartConfig, ChartContainer } from "@/components/ui/chart"; import { cn } from "@/lib/utils"; interface ChartCard16Props { title?: string; description?: string; value?: number; max?: number; className?: string; } const numberFormatter = new Intl.NumberFormat("fa-IR", { maximumFractionDigits: 0, }); const chartConfig = { value: { label: "پیشرفت", color: "var(--chart-1)", }, } satisfies ChartConfig; const ChartCard16 = ({ title = "پیشرفت هدف", description = "میزان تحقق هدف ماهانه", value = 72, max = 100, className, }: ChartCard16Props) => { const chartData = [{ value, fill: "var(--chart-1)" }]; const percentage = Math.round((value / max) * 100); return ( {title} {description} ); }; export { ChartCard16 };