TehRiehlDealandClaude Opus 4.7 e5bc486e77 Space balance chart points equidistantly instead of by real time
The previous fix gave each point a unique x-axis timestamp so the tooltip
could disambiguate same-day entries, but that caused real-time-scale
spacing: transactions clustered minutes apart became impossible to click
on individually. The desired behavior is equidistant slots for display,
with the x value only needing to be unique for tooltip hit-testing.

Switches the balance chart to a categorical x-axis keyed on the point's
array index (computed on the frontend after fetching). The tick formatter
looks up the date from the history array at that index so labels still
show the calendar date. Each point occupies its own evenly-spaced slot
and hover correctly identifies the specific point. The backend's now-
unused `timestamp` field is removed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 10:51:43 -07:00
2026-04-12 17:13:33 -07:00
S
Description
No description provided
MIT
1.9 MiB
Languages
TypeScript 97.4%
CSS 1.1%
Dockerfile 0.7%
JavaScript 0.6%
HTML 0.1%