ChartPieLegend() — ui Function Reference
Architecture documentation for the ChartPieLegend() function in chart-pie-legend.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD ac294a9d_fddd_0c66_16d1_21c872cf2508["ChartPieLegend()"] f3afb623_d04a_b91b_8533_026fd60ff20b["chart-pie-legend.tsx"] ac294a9d_fddd_0c66_16d1_21c872cf2508 -->|defined in| f3afb623_d04a_b91b_8533_026fd60ff20b style ac294a9d_fddd_0c66_16d1_21c872cf2508 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/charts/chart-pie-legend.tsx lines 55–78
export function ChartPieLegend() {
return (
<Card className="flex flex-col">
<CardHeader className="items-center pb-0">
<CardTitle>Pie Chart - Legend</CardTitle>
<CardDescription>January - June 2024</CardDescription>
</CardHeader>
<CardContent className="flex-1 pb-0">
<ChartContainer
config={chartConfig}
className="mx-auto aspect-square max-h-[300px]"
>
<PieChart>
<Pie data={chartData} dataKey="visitors" />
<ChartLegend
content={<ChartLegendContent nameKey="browser" />}
className="-translate-y-2 flex-wrap gap-2 *:basis-1/4 *:justify-center"
/>
</PieChart>
</ChartContainer>
</CardContent>
</Card>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ChartPieLegend() do?
ChartPieLegend() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/charts/chart-pie-legend.tsx.
Where is ChartPieLegend() defined?
ChartPieLegend() is defined in apps/v4/registry/new-york-v4/charts/chart-pie-legend.tsx at line 55.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free