chart-area-interactive.tsx — ui Source File
Architecture documentation for chart-area-interactive.tsx, a tsx file in the ui codebase. 7 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 29cfe881_289c_f86c_e7fc_10d3b450d851["chart-area-interactive.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 29cfe881_289c_f86c_e7fc_10d3b450d851 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 da384753_eb23_55ed_e7a6_3bd0e172b999["recharts"] 29cfe881_289c_f86c_e7fc_10d3b450d851 --> da384753_eb23_55ed_e7a6_3bd0e172b999 473b3225_a64d_362c_8209_f99c5b1b6d81["use-mobile"] 29cfe881_289c_f86c_e7fc_10d3b450d851 --> 473b3225_a64d_362c_8209_f99c5b1b6d81 95a7752f_4b97_5bde_5d7d_fca03536ac35["card"] 29cfe881_289c_f86c_e7fc_10d3b450d851 --> 95a7752f_4b97_5bde_5d7d_fca03536ac35 54edb93d_8b2b_eda5_dfc1_461038aaa132["chart"] 29cfe881_289c_f86c_e7fc_10d3b450d851 --> 54edb93d_8b2b_eda5_dfc1_461038aaa132 d493776b_8734_5d8d_382d_0f77f309a72b["select"] 29cfe881_289c_f86c_e7fc_10d3b450d851 --> d493776b_8734_5d8d_382d_0f77f309a72b c779bc65_85d6_5abf_7b1c_a21b2393881e["toggle-group"] 29cfe881_289c_f86c_e7fc_10d3b450d851 --> c779bc65_85d6_5abf_7b1c_a21b2393881e style 29cfe881_289c_f86c_e7fc_10d3b450d851 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Area, AreaChart, CartesianGrid, XAxis } from "recharts"
import { useIsMobile } from "@/registry/new-york/hooks/use-mobile"
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/registry/new-york/ui/card"
import {
ChartConfig,
ChartContainer,
ChartTooltip,
ChartTooltipContent,
} from "@/registry/new-york/ui/chart"
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/registry/new-york/ui/select"
import {
ToggleGroup,
ToggleGroupItem,
} from "@/registry/new-york/ui/toggle-group"
export const description = "An interactive area chart"
const chartData = [
{ date: "2024-04-01", desktop: 222, mobile: 150 },
{ date: "2024-04-02", desktop: 97, mobile: 180 },
{ date: "2024-04-03", desktop: 167, mobile: 120 },
{ date: "2024-04-04", desktop: 242, mobile: 260 },
{ date: "2024-04-05", desktop: 373, mobile: 290 },
{ date: "2024-04-06", desktop: 301, mobile: 340 },
{ date: "2024-04-07", desktop: 245, mobile: 180 },
{ date: "2024-04-08", desktop: 409, mobile: 320 },
{ date: "2024-04-09", desktop: 59, mobile: 110 },
{ date: "2024-04-10", desktop: 261, mobile: 190 },
{ date: "2024-04-11", desktop: 327, mobile: 350 },
{ date: "2024-04-12", desktop: 292, mobile: 210 },
{ date: "2024-04-13", desktop: 342, mobile: 380 },
{ date: "2024-04-14", desktop: 137, mobile: 220 },
{ date: "2024-04-15", desktop: 120, mobile: 170 },
{ date: "2024-04-16", desktop: 138, mobile: 190 },
{ date: "2024-04-17", desktop: 446, mobile: 360 },
{ date: "2024-04-18", desktop: 364, mobile: 410 },
{ date: "2024-04-19", desktop: 243, mobile: 180 },
{ date: "2024-04-20", desktop: 89, mobile: 150 },
{ date: "2024-04-21", desktop: 137, mobile: 200 },
{ date: "2024-04-22", desktop: 224, mobile: 170 },
{ date: "2024-04-23", desktop: 138, mobile: 230 },
{ date: "2024-04-24", desktop: 387, mobile: 290 },
{ date: "2024-04-25", desktop: 215, mobile: 250 },
{ date: "2024-04-26", desktop: 75, mobile: 130 },
// ... (236 more lines)
Domain
Subdomains
Functions
Dependencies
- card
- chart
- react
- recharts
- select
- toggle-group
- use-mobile
Source
Frequently Asked Questions
What does chart-area-interactive.tsx do?
chart-area-interactive.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-interactive.tsx?
chart-area-interactive.tsx defines 1 function(s): ChartAreaInteractive.
What does chart-area-interactive.tsx depend on?
chart-area-interactive.tsx imports 7 module(s): card, chart, react, recharts, select, toggle-group, use-mobile.
Where is chart-area-interactive.tsx in the architecture?
chart-area-interactive.tsx is located at deprecated/www/registry/new-york/blocks/dashboard-01/components/chart-area-interactive.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/blocks/dashboard-01/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free