From cf7ff01e341659b0834fd8359d3e9c31295d45a9 Mon Sep 17 00:00:00 2001 From: esdrasrenan Date: Sat, 13 Dec 2025 23:01:31 -0300 Subject: [PATCH] =?UTF-8?q?fix(chart):=20corrige=20overflow=20no=20gr?= =?UTF-8?q?=C3=A1fico=20Abertos=20x=20Resolvidos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Adiciona YAxis com domain=[0, dataMax+1] para forçar mínimo em 0 - Muda type="monotone" para type="linear" para evitar curvas que ultrapassam os pontos de dados 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/components/charts/chart-opened-resolved.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/charts/chart-opened-resolved.tsx b/src/components/charts/chart-opened-resolved.tsx index 7c678cd..762e67a 100644 --- a/src/components/charts/chart-opened-resolved.tsx +++ b/src/components/charts/chart-opened-resolved.tsx @@ -1,7 +1,7 @@ "use client" import * as React from "react" -import { CartesianGrid, Line, LineChart, XAxis } from "recharts" +import { CartesianGrid, Line, LineChart, XAxis, YAxis } from "recharts" import { useQuery } from "convex/react" import { api } from "@/convex/_generated/api" @@ -103,7 +103,7 @@ export function ChartOpenedResolved() { ) : ( - + formatDateDM(new Date(v))} /> + } /> - - + + )}