monitoring(wealth): tighten default time range, bump decimals for granularity

Two adjustments to make daily movements visible:

1. Default time range: now-5y → now-180d. The timeseries charts (Net
   worth, Net contribution vs market value, Growth, Per-account
   stacked, Cash vs invested) auto-fit their y-axis to the data range
   in view. Over 5 years, daily £1k–£10k moves are ~1% of axis range
   and visually invisible against the cumulative trend. Over 6
   months, the same daily moves dominate. Yearly bar charts (12, 13)
   are unaffected — they aggregate by calendar year and don't filter
   on $__timeFilter.

2. Decimals → 2 on every currency panel (1, 2, 3, 5–9, 13, 15, 16)
   and every percent panel (4, 14). Stat panels now show pennies on
   currency and 0.01% on rates; chart y-axis ticks are likewise more
   precise. Honest caveat: pennies on a £1M number don't make the
   absolute readout easier — to see "today changed by £8,358" cleanly
   we'd want a dedicated delta panel; pending user direction.

Widen the time picker manually to recover the 5-year view; default
just zooms into the last 6 months.
This commit is contained in:
Viktor Barzin 2026-05-01 16:15:39 +00:00
parent 628f5a0d26
commit d67416d4ca

View file

@ -28,7 +28,7 @@
"defaults": {
"unit": "currencyGBP",
"color": {"mode": "fixed", "fixedColor": "green"},
"decimals": 0
"decimals": 2
},
"overrides": []
},
@ -62,7 +62,7 @@
"defaults": {
"unit": "currencyGBP",
"color": {"mode": "fixed", "fixedColor": "blue"},
"decimals": 0
"decimals": 2
},
"overrides": []
},
@ -96,7 +96,7 @@
"defaults": {
"unit": "currencyGBP",
"color": {"mode": "thresholds"},
"decimals": 0,
"decimals": 2,
"thresholds": {
"mode": "absolute",
"steps": [
@ -137,7 +137,7 @@
"defaults": {
"unit": "percent",
"color": {"mode": "thresholds"},
"decimals": 1,
"decimals": 2,
"thresholds": {
"mode": "absolute",
"steps": [
@ -179,6 +179,7 @@
"defaults": {
"color": {"mode": "fixed", "fixedColor": "green"},
"unit": "currencyGBP",
"decimals": 2,
"custom": {
"drawStyle": "line",
"lineWidth": 2,
@ -223,6 +224,7 @@
"defaults": {
"color": {"mode": "palette-classic"},
"unit": "currencyGBP",
"decimals": 2,
"custom": {
"drawStyle": "line",
"lineWidth": 2,
@ -277,6 +279,7 @@
"defaults": {
"color": {"mode": "fixed", "fixedColor": "#56A64B"},
"unit": "currencyGBP",
"decimals": 2,
"custom": {
"drawStyle": "line",
"lineWidth": 2,
@ -322,6 +325,7 @@
"defaults": {
"color": {"mode": "palette-classic"},
"unit": "currencyGBP",
"decimals": 2,
"custom": {
"drawStyle": "line",
"lineWidth": 1,
@ -361,6 +365,7 @@
"defaults": {
"color": {"mode": "palette-classic"},
"unit": "currencyGBP",
"decimals": 2,
"custom": {
"drawStyle": "line",
"lineWidth": 1,
@ -490,7 +495,7 @@
"defaults": {
"unit": "currencyGBP",
"color": {"mode": "fixed", "fixedColor": "blue"},
"decimals": 0
"decimals": 2
},
"overrides": []
},
@ -524,7 +529,7 @@
"defaults": {
"unit": "currencyGBP",
"color": {"mode": "thresholds"},
"decimals": 0,
"decimals": 2,
"thresholds": {
"mode": "absolute",
"steps": [
@ -625,7 +630,7 @@
"defaults": {
"color": {"mode": "palette-classic"},
"unit": "currencyGBP",
"decimals": 0,
"decimals": 2,
"custom": {
"axisPlacement": "auto",
"axisLabel": "",
@ -691,7 +696,7 @@
"defaults": {
"color": {"mode": "thresholds"},
"unit": "percent",
"decimals": 1,
"decimals": 2,
"thresholds": {
"mode": "absolute",
"steps": [
@ -737,7 +742,7 @@
"schemaVersion": 39,
"tags": ["finance", "personal", "wealth"],
"templating": {"list": []},
"time": {"from": "now-5y", "to": "now"},
"time": {"from": "now-180d", "to": "now"},
"timepicker": {},
"timezone": "browser",
"title": "Wealth",