"use client" import { Chart, useChart } from "@chakra-ui/charts" import { Area, AreaChart, CartesianGrid, Legend, Tooltip, XAxis, YAxis, } from "recharts" export const AreaChartSigned = () => { const chart = useChart({ data: [ { windows: 186, mac: 80, linux: 120, month: "January" }, { windows: -165, mac: 95, linux: 110, month: "February" }, { windows: 175, mac: 90, linux: -115, month: "August" }, { windows: 180, mac: 86, linux: 124, month: "October" }, { windows: 185, mac: -91, linux: 126, month: "November" }, ], series: [ { name: "windows", color: "teal.solid" }, { name: "mac", color: "purple.solid" }, { name: "linux", color: "blue.solid" }, ], }) return ( value.slice(0, 3)} /> } /> } /> {chart.series.map((item) => ( ))} ) }