Files
nanocode/RetroUI/preview/charts/area-chart-style-default.tsx
T
Ubuntu 32b43f85bd a
2026-07-03 16:58:28 +08:00

15 lines
537 B
TypeScript

// import { LineChart, Line, CartesianGrid, XAxis, YAxis, ResponsiveContainer } from 'recharts';
import { AreaChart } from "@/components/retroui/charts/AreaChart";
const data = [{ name: 'Jan', orders: 12 }, { name: 'Feb', orders: 32 }, { name: 'Mar', orders: 19 }, { name: 'Apr', orders: 35 }, { name: 'May', orders: 40 }, { name: 'Jun', orders: 25 }];
export default function ChartStyleDefault() {
return (
<AreaChart
data={data}
index="name"
categories={["orders"]}
/>
)
}