Files
sure/app/javascript/controllers
Guillem Arias Fauste 6961c7ef41 fix(ds): chart flat-state — hairline trendline, not a bisecting rule (#2137) (#2150)
Accounts with a flat series (a single valuation or an unchanged balance, where
dataMin === dataMax) plotted the centered horizontal trendline at the full 2px
stroke — a near-black full-bleed rule bisecting the hero card in light, leaving
~half the card a void (dark read it as an acceptable hairline). Detect the flat
case (_isFlatSeries) and draw the line as a faint hairline (stroke-width 1,
stroke-opacity 0.4) so it reads as "no change", consistent across light + dark.

Verified on the Car Loan account (30D, no change): the heavy rule is gone.
2026-06-04 22:19:38 +02:00
..
2025-01-16 14:36:37 -05:00
2026-03-29 17:28:07 +02:00