Skip to content

Commit

Permalink
Refactor chart component to include a CartesianGrid
Browse files Browse the repository at this point in the history
  • Loading branch information
needim committed Oct 1, 2024
1 parent ac11e68 commit 9f64e16
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { type ChartConfig, ChartContainer, ChartTooltip, ChartTooltipContent } f
import { useLocalization } from "@/hooks/use-localization";
import { useScreens } from "@/hooks/use-screens";
import dayjs from "dayjs";
import { Area, AreaChart, XAxis } from "recharts";
import { Area, AreaChart, CartesianGrid, XAxis } from "recharts";

export function MonthlyIncomeExpenseOverviewArea() {
const { CALCULATIONS, calendarVision } = useScreens();
Expand Down Expand Up @@ -70,7 +70,7 @@ export function MonthlyIncomeExpenseOverviewArea() {
right: 10,
}}
>
{/* <CartesianGrid vertical={false} /> */}
<CartesianGrid strokeOpacity={0.5} vertical={true} />
<XAxis
dataKey="month"
tickLine={false}
Expand Down

0 comments on commit 9f64e16

Please sign in to comment.