Home / File/ chart-area-stacked-expand.tsx — ui Source File

chart-area-stacked-expand.tsx — ui Source File

Architecture documentation for chart-area-stacked-expand.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 4 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  357bd01a_5d47_eb00_da0c_dc8245d0c325["chart-area-stacked-expand.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  357bd01a_5d47_eb00_da0c_dc8245d0c325 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  da384753_eb23_55ed_e7a6_3bd0e172b999["recharts"]
  357bd01a_5d47_eb00_da0c_dc8245d0c325 --> da384753_eb23_55ed_e7a6_3bd0e172b999
  40a08bc2_b80f_cbb3_c3f5_f3ceafbb7d31["card"]
  357bd01a_5d47_eb00_da0c_dc8245d0c325 --> 40a08bc2_b80f_cbb3_c3f5_f3ceafbb7d31
  9c524c37_6bc6_459f_8f33_9c86aa346baf["chart"]
  357bd01a_5d47_eb00_da0c_dc8245d0c325 --> 9c524c37_6bc6_459f_8f33_9c86aa346baf
  style 357bd01a_5d47_eb00_da0c_dc8245d0c325 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import { TrendingUp } from "lucide-react"
import { Area, AreaChart, CartesianGrid, XAxis } from "recharts"

import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/registry/default/ui/card"
import {
  ChartConfig,
  ChartContainer,
  ChartTooltip,
  ChartTooltipContent,
} from "@/registry/default/ui/chart"

export const description = "A stacked area chart with expand stacking"

const chartData = [
  { month: "January", desktop: 186, mobile: 80, other: 45 },
  { month: "February", desktop: 305, mobile: 200, other: 100 },
  { month: "March", desktop: 237, mobile: 120, other: 150 },
  { month: "April", desktop: 73, mobile: 190, other: 50 },
  { month: "May", desktop: 209, mobile: 130, other: 100 },
  { month: "June", desktop: 214, mobile: 140, other: 160 },
]

const chartConfig = {
  desktop: {
    label: "Desktop",
    color: "hsl(var(--chart-1))",
  },
  mobile: {
    label: "Mobile",
    color: "hsl(var(--chart-2))",
  },
  other: {
    label: "Other",
    color: "hsl(var(--chart-3))",
  },
} satisfies ChartConfig

export default function Component() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>Area Chart - Stacked Expanded</CardTitle>
        <CardDescription>
          Showing total visitors for the last 6months
        </CardDescription>
      </CardHeader>
      <CardContent>
        <ChartContainer config={chartConfig}>
          <AreaChart
            accessibilityLayer
            data={chartData}
// ... (62 more lines)

Subdomains

Functions

Dependencies

  • card
  • chart
  • lucide-react
  • recharts

Frequently Asked Questions

What does chart-area-stacked-expand.tsx do?
chart-area-stacked-expand.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in chart-area-stacked-expand.tsx?
chart-area-stacked-expand.tsx defines 1 function(s): Component.
What does chart-area-stacked-expand.tsx depend on?
chart-area-stacked-expand.tsx imports 4 module(s): card, chart, lucide-react, recharts.
Where is chart-area-stacked-expand.tsx in the architecture?
chart-area-stacked-expand.tsx is located at deprecated/www/__registry__/default/charts/chart-area-stacked-expand.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/__registry__/default/charts).

Analyze Your Own Codebase

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

Try Supermodel Free