{ "uid": "finanzen", "title": "Finanzen", "schemaVersion": 39, "version": 1, "editable": true, "timezone": "browser", "tags": ["finanzen"], "time": { "from": "now-1y", "to": "now" }, "refresh": "", "panels": [ { "id": 1, "type": "timeseries", "title": "Kontostand-Verlauf", "datasource": { "type": "postgres", "uid": "FinanzDB" }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "fieldConfig": { "defaults": { "custom": { "drawStyle": "line", "lineWidth": 1, "fillOpacity": 0 }, "unit": "currencyEUR" }, "overrides": [] }, "options": { "legend": { "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "multi" } }, "targets": [ { "refId": "A", "datasource": { "type": "postgres", "uid": "FinanzDB" }, "format": "time_series", "rawSql": "SELECT day AS time, account AS metric, balance AS value FROM v_balance_history ORDER BY day", "rawQuery": true } ] }, { "id": 2, "type": "timeseries", "title": "Gesamt-Saldo", "datasource": { "type": "postgres", "uid": "FinanzDB" }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 }, "fieldConfig": { "defaults": { "custom": { "drawStyle": "line", "lineWidth": 2, "fillOpacity": 10 }, "unit": "currencyEUR" }, "overrides": [] }, "options": { "legend": { "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "targets": [ { "refId": "A", "datasource": { "type": "postgres", "uid": "FinanzDB" }, "format": "time_series", "rawSql": "SELECT day AS time, balance AS value FROM v_balance_total ORDER BY day", "rawQuery": true } ] }, { "id": 3, "type": "barchart", "title": "Monat nach Kategorie", "datasource": { "type": "postgres", "uid": "FinanzDB" }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 8 }, "fieldConfig": { "defaults": { "unit": "currencyEUR" }, "overrides": [] }, "options": { "legend": { "displayMode": "list", "placement": "bottom" }, "stacking": "normal", "xTickLabelRotation": 0 }, "targets": [ { "refId": "A", "datasource": { "type": "postgres", "uid": "FinanzDB" }, "format": "time_series", "rawSql": "SELECT month AS time, category AS metric, total AS value FROM v_monthly_by_category ORDER BY month", "rawQuery": true } ] }, { "id": 4, "type": "timeseries", "title": "Szenario-Vergleich", "datasource": { "type": "postgres", "uid": "FinanzDB" }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 8 }, "fieldConfig": { "defaults": { "custom": { "drawStyle": "line", "lineWidth": 1, "fillOpacity": 0, "thresholdsStyle": { "mode": "line" } }, "unit": "currencyEUR", "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "orange", "value": 0 }, { "color": "green", "value": 500 } ] } }, "overrides": [] }, "options": { "legend": { "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "multi" } }, "targets": [ { "refId": "A", "datasource": { "type": "postgres", "uid": "FinanzDB" }, "format": "time_series", "rawSql": "SELECT day AS time, scenario AS metric, balance AS value FROM v_projection ORDER BY day", "rawQuery": true } ] } ] }