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.
This commit is contained in:
@@ -667,8 +667,8 @@ function TrendHistoryChart({ trends, latestTrends, ticker, marketPrices }: { tre
|
|||||||
|
|
||||||
// Determine the time range for the selected window to filter data
|
// Determine the time range for the selected window to filter data
|
||||||
const windowHours: Record<string, number> = {
|
const windowHours: Record<string, number> = {
|
||||||
intraday: 12,
|
intraday: 24,
|
||||||
'1d': 24,
|
'1d': 48,
|
||||||
'7d': 7 * 24,
|
'7d': 7 * 24,
|
||||||
'30d': 30 * 24,
|
'30d': 30 * 24,
|
||||||
'90d': 90 * 24,
|
'90d': 90 * 24,
|
||||||
|
|||||||
Reference in New Issue
Block a user