Home / Function/ ChartRadarLinesOnly() — ui Function Reference

ChartRadarLinesOnly() — ui Function Reference

Architecture documentation for the ChartRadarLinesOnly() function in chart-radar-lines-only.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  f53e5d70_c033_0145_8848_1c2b85daf738["ChartRadarLinesOnly()"]
  82127325_468c_45dd_f819_057bc7cf8130["chart-radar-lines-only.tsx"]
  f53e5d70_c033_0145_8848_1c2b85daf738 -->|defined in| 82127325_468c_45dd_f819_057bc7cf8130
  style f53e5d70_c033_0145_8848_1c2b85daf738 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/charts/chart-radar-lines-only.tsx lines 43–91

export function ChartRadarLinesOnly() {
  return (
    <Card>
      <CardHeader className="items-center pb-4">
        <CardTitle>Radar Chart - Lines Only</CardTitle>
        <CardDescription>
          Showing total visitors for the last 6 months
        </CardDescription>
      </CardHeader>
      <CardContent className="pb-0">
        <ChartContainer
          config={chartConfig}
          className="mx-auto aspect-square max-h-[250px]"
        >
          <RadarChart data={chartData}>
            <ChartTooltip
              cursor={false}
              content={<ChartTooltipContent indicator="line" />}
            />
            <PolarAngleAxis dataKey="month" />
            <PolarGrid radialLines={false} />
            <Radar
              dataKey="desktop"
              fill="var(--color-desktop)"
              fillOpacity={0}
              stroke="var(--color-desktop)"
              strokeWidth={2}
            />
            <Radar
              dataKey="mobile"
              fill="var(--color-mobile)"
              fillOpacity={0}
              stroke="var(--color-mobile)"
              strokeWidth={2}
            />
          </RadarChart>
        </ChartContainer>
      </CardContent>
      <CardFooter className="flex-col gap-2 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>
  )
}

Subdomains

Frequently Asked Questions

What does ChartRadarLinesOnly() do?
ChartRadarLinesOnly() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/charts/chart-radar-lines-only.tsx.
Where is ChartRadarLinesOnly() defined?
ChartRadarLinesOnly() is defined in apps/v4/registry/new-york-v4/charts/chart-radar-lines-only.tsx at line 43.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free