"use client" import { TrendingUp } from "lucide-react" import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartTooltip, ChartTooltipContent, type ChartConfig, } from "@/registry/new-york-v4/ui/chart" export const description = "A radar chart with lines only" const chartData = [ { month: "January", desktop: 186, mobile: 160 }, { month: "February", desktop: 185, mobile: 170 }, { month: "March", desktop: 207, mobile: 180 }, { month: "April", desktop: 173, mobile: 160 }, { month: "May", desktop: 160, mobile: 190 }, { month: "June", desktop: 174, mobile: 204 }, ] const chartConfig = { desktop: { label: "Desktop", color: "var(--chart-1)", }, mobile: { label: "Mobile", color: "var(--chart-2)", }, } satisfies ChartConfig export function ChartRadarLinesOnly() { return ( Radar Chart - Lines Only Showing total visitors for the last 6 months } />
Trending up by 5.2% this month
January - June 2024
) }