ChartRadarLegend() — ui Function Reference
Architecture documentation for the ChartRadarLegend() function in chart-radar-legend.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 66d232d4_7e7e_cd0d_2f11_9f88804917a5["ChartRadarLegend()"] 4f2e3ff2_e38b_e849_6a11_ec5a3135490d["chart-radar-legend.tsx"] 66d232d4_7e7e_cd0d_2f11_9f88804917a5 -->|defined in| 4f2e3ff2_e38b_e849_6a11_ec5a3135490d style 66d232d4_7e7e_cd0d_2f11_9f88804917a5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/charts/chart-radar-legend.tsx lines 45–92
export function ChartRadarLegend() {
return (
<Card>
<CardHeader className="items-center">
<CardTitle>Radar Chart - Legend</CardTitle>
<CardDescription>
Showing total visitors for the last 6 months
</CardDescription>
</CardHeader>
<CardContent>
<ChartContainer
config={chartConfig}
className="mx-auto aspect-square max-h-[250px]"
>
<RadarChart
data={chartData}
margin={{
top: -40,
bottom: -10,
}}
>
<ChartTooltip
cursor={false}
content={<ChartTooltipContent indicator="line" />}
/>
<PolarAngleAxis dataKey="month" />
<PolarGrid />
<Radar
dataKey="desktop"
fill="var(--color-desktop)"
fillOpacity={0.6}
/>
<Radar dataKey="mobile" fill="var(--color-mobile)" />
<ChartLegend className="mt-8" content={<ChartLegendContent />} />
</RadarChart>
</ChartContainer>
</CardContent>
<CardFooter className="flex-col gap-2 pt-4 text-sm">
<div className="flex items-center gap-2 leading-none font-medium">
Trending up by 5.2% this month <TrendingUp className="h-4 w-4" />
</div>
<div className="text-muted-foreground flex items-center gap-2 leading-none">
January - June 2024
</div>
</CardFooter>
</Card>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ChartRadarLegend() do?
ChartRadarLegend() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/charts/chart-radar-legend.tsx.
Where is ChartRadarLegend() defined?
ChartRadarLegend() is defined in apps/v4/registry/new-york-v4/charts/chart-radar-legend.tsx at line 45.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free