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:
parent
628f5a0d26
commit
d67416d4ca
1 changed files with 14 additions and 9 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
"color": {"mode": "fixed", "fixedColor": "green"},
|
"color": {"mode": "fixed", "fixedColor": "green"},
|
||||||
"decimals": 0
|
"decimals": 2
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
"color": {"mode": "fixed", "fixedColor": "blue"},
|
"color": {"mode": "fixed", "fixedColor": "blue"},
|
||||||
"decimals": 0
|
"decimals": 2
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
|
|
@ -96,7 +96,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
"color": {"mode": "thresholds"},
|
"color": {"mode": "thresholds"},
|
||||||
"decimals": 0,
|
"decimals": 2,
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
"steps": [
|
"steps": [
|
||||||
|
|
@ -137,7 +137,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"unit": "percent",
|
"unit": "percent",
|
||||||
"color": {"mode": "thresholds"},
|
"color": {"mode": "thresholds"},
|
||||||
"decimals": 1,
|
"decimals": 2,
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
"steps": [
|
"steps": [
|
||||||
|
|
@ -179,6 +179,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {"mode": "fixed", "fixedColor": "green"},
|
"color": {"mode": "fixed", "fixedColor": "green"},
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
|
"decimals": 2,
|
||||||
"custom": {
|
"custom": {
|
||||||
"drawStyle": "line",
|
"drawStyle": "line",
|
||||||
"lineWidth": 2,
|
"lineWidth": 2,
|
||||||
|
|
@ -223,6 +224,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {"mode": "palette-classic"},
|
"color": {"mode": "palette-classic"},
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
|
"decimals": 2,
|
||||||
"custom": {
|
"custom": {
|
||||||
"drawStyle": "line",
|
"drawStyle": "line",
|
||||||
"lineWidth": 2,
|
"lineWidth": 2,
|
||||||
|
|
@ -277,6 +279,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {"mode": "fixed", "fixedColor": "#56A64B"},
|
"color": {"mode": "fixed", "fixedColor": "#56A64B"},
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
|
"decimals": 2,
|
||||||
"custom": {
|
"custom": {
|
||||||
"drawStyle": "line",
|
"drawStyle": "line",
|
||||||
"lineWidth": 2,
|
"lineWidth": 2,
|
||||||
|
|
@ -322,6 +325,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {"mode": "palette-classic"},
|
"color": {"mode": "palette-classic"},
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
|
"decimals": 2,
|
||||||
"custom": {
|
"custom": {
|
||||||
"drawStyle": "line",
|
"drawStyle": "line",
|
||||||
"lineWidth": 1,
|
"lineWidth": 1,
|
||||||
|
|
@ -361,6 +365,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {"mode": "palette-classic"},
|
"color": {"mode": "palette-classic"},
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
|
"decimals": 2,
|
||||||
"custom": {
|
"custom": {
|
||||||
"drawStyle": "line",
|
"drawStyle": "line",
|
||||||
"lineWidth": 1,
|
"lineWidth": 1,
|
||||||
|
|
@ -490,7 +495,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
"color": {"mode": "fixed", "fixedColor": "blue"},
|
"color": {"mode": "fixed", "fixedColor": "blue"},
|
||||||
"decimals": 0
|
"decimals": 2
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
|
|
@ -524,7 +529,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
"color": {"mode": "thresholds"},
|
"color": {"mode": "thresholds"},
|
||||||
"decimals": 0,
|
"decimals": 2,
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
"steps": [
|
"steps": [
|
||||||
|
|
@ -625,7 +630,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {"mode": "palette-classic"},
|
"color": {"mode": "palette-classic"},
|
||||||
"unit": "currencyGBP",
|
"unit": "currencyGBP",
|
||||||
"decimals": 0,
|
"decimals": 2,
|
||||||
"custom": {
|
"custom": {
|
||||||
"axisPlacement": "auto",
|
"axisPlacement": "auto",
|
||||||
"axisLabel": "",
|
"axisLabel": "",
|
||||||
|
|
@ -691,7 +696,7 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {"mode": "thresholds"},
|
"color": {"mode": "thresholds"},
|
||||||
"unit": "percent",
|
"unit": "percent",
|
||||||
"decimals": 1,
|
"decimals": 2,
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
"steps": [
|
"steps": [
|
||||||
|
|
@ -737,7 +742,7 @@
|
||||||
"schemaVersion": 39,
|
"schemaVersion": 39,
|
||||||
"tags": ["finance", "personal", "wealth"],
|
"tags": ["finance", "personal", "wealth"],
|
||||||
"templating": {"list": []},
|
"templating": {"list": []},
|
||||||
"time": {"from": "now-5y", "to": "now"},
|
"time": {"from": "now-180d", "to": "now"},
|
||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "browser",
|
"timezone": "browser",
|
||||||
"title": "Wealth",
|
"title": "Wealth",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue