From 99b7dcee987987596cddcb7f6a965fe2c52c08ab Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Wed, 29 Apr 2026 18:15:54 +0000 Subject: [PATCH] fix: widen chart time windows for intraday (24h) and 1d (48h) Intraday was showing only 12h of data (9 sparse points). Widened to 24h to show a full day of intraday trend history. Also widened 1d from 24h to 48h for better context. --- frontend/src/pages/CompanyDetail.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/CompanyDetail.tsx b/frontend/src/pages/CompanyDetail.tsx index 7e90005..a21a945 100644 --- a/frontend/src/pages/CompanyDetail.tsx +++ b/frontend/src/pages/CompanyDetail.tsx @@ -667,8 +667,8 @@ function TrendHistoryChart({ trends, latestTrends, ticker, marketPrices }: { tre // Determine the time range for the selected window to filter data const windowHours: Record = { - intraday: 12, - '1d': 24, + intraday: 24, + '1d': 48, '7d': 7 * 24, '30d': 30 * 24, '90d': 90 * 24,