Skip to content

Commit

Permalink
layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
swiffer authored and JakobLichterfeld committed Nov 5, 2024
1 parent 2edbb9b commit 08873c7
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 40 deletions.
2 changes: 1 addition & 1 deletion grafana/dashboards/charges.json
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@
},
{
"id": "custom.minWidth",
"value": 60
"value": 70
}
]
},
Expand Down
78 changes: 49 additions & 29 deletions grafana/dashboards/charging-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
},
"gridPos": {
"h": 3,
"w": 5,
"w": 3,
"x": 0,
"y": 1
},
Expand Down Expand Up @@ -228,8 +228,8 @@
},
"gridPos": {
"h": 3,
"w": 5,
"x": 5,
"w": 3,
"x": 3,
"y": 1
},
"id": 10,
Expand Down Expand Up @@ -319,7 +319,7 @@
"gridPos": {
"h": 3,
"w": 3,
"x": 10,
"x": 6,
"y": 1
},
"id": 14,
Expand Down Expand Up @@ -381,7 +381,7 @@
]
}
],
"title": "Charging Cost at SuC",
"title": "SuC Charging Cost",
"type": "stat"
},
{
Expand Down Expand Up @@ -409,7 +409,7 @@
"gridPos": {
"h": 3,
"w": 3,
"x": 13,
"x": 9,
"y": 1
},
"id": 27,
Expand Down Expand Up @@ -498,8 +498,8 @@
},
"gridPos": {
"h": 3,
"w": 2,
"x": 16,
"w": 3,
"x": 12,
"y": 1
},
"id": 26,
Expand Down Expand Up @@ -573,7 +573,7 @@
]
}
],
"title": "Cost per 100 $length_unit",
"title": "Ø Cost per 100 $length_unit",
"type": "stat"
},
{
Expand Down Expand Up @@ -602,8 +602,8 @@
},
"gridPos": {
"h": 3,
"w": 2,
"x": 18,
"w": 3,
"x": 15,
"y": 1
},
"id": 31,
Expand Down Expand Up @@ -649,7 +649,7 @@
]
}
],
"title": "Average Cost per kWh",
"title": "Ø Cost per kWh",
"type": "stat"
},
{
Expand Down Expand Up @@ -678,8 +678,8 @@
},
"gridPos": {
"h": 3,
"w": 2,
"x": 20,
"w": 3,
"x": 18,
"y": 1
},
"id": 32,
Expand Down Expand Up @@ -743,7 +743,7 @@
]
}
],
"title": "DC Avg Cost per kWh",
"title": "Ø Cost per kWh DC",
"type": "stat"
},
{
Expand Down Expand Up @@ -772,8 +772,8 @@
},
"gridPos": {
"h": 3,
"w": 2,
"x": 22,
"w": 3,
"x": 21,
"y": 1
},
"id": 33,
Expand Down Expand Up @@ -837,7 +837,7 @@
]
}
],
"title": "AC Avg Cost per kWh",
"title": "Ø Cost per kWh AC",
"type": "stat"
},
{
Expand Down Expand Up @@ -1924,14 +1924,16 @@
"cellOptions": {
"type": "auto"
},
"inspect": false
"inspect": false,
"minWidth": 50
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
}
Expand All @@ -1945,7 +1947,7 @@
"properties": [
{
"id": "custom.width",
"value": 70
"value": 50
},
{
"id": "displayName",
Expand Down Expand Up @@ -1977,7 +1979,8 @@
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "gauge"
"type": "gauge",
"valueDisplayMode": "text"
}
},
{
Expand All @@ -1986,6 +1989,10 @@
{
"id": "min",
"value": 0
},
{
"id": "custom.align",
"value": "left"
}
]
}
Expand All @@ -2011,6 +2018,7 @@
"showHeader": true,
"sortBy": []
},
"pluginVersion": "11.2.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -2114,14 +2122,16 @@
"cellOptions": {
"type": "auto"
},
"inspect": false
"inspect": false,
"minWidth": 50
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -2151,7 +2161,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "#EAB839",
Expand All @@ -2172,7 +2183,7 @@
},
{
"id": "custom.width",
"value": 70
"value": 50
}
]
},
Expand All @@ -2196,6 +2207,10 @@
{
"id": "min",
"value": 0
},
{
"id": "custom.align",
"value": "left"
}
]
}
Expand All @@ -2221,6 +2236,7 @@
"showHeader": true,
"sortBy": []
},
"pluginVersion": "11.2.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -2275,7 +2291,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -2338,6 +2355,7 @@
},
"showHeader": true
},
"pluginVersion": "11.2.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -2392,7 +2410,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -2459,6 +2478,7 @@
},
"showHeader": true
},
"pluginVersion": "11.2.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -2607,6 +2627,6 @@
"timezone": "",
"title": "Charging Stats",
"uid": "-pkIkhmRz",
"version": 1,
"version": 2,
"weekStart": ""
}
16 changes: 6 additions & 10 deletions grafana/dashboards/trip.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
{
"icon": "doc",
"tags": [],
"targetBlank": false,
"targetBlank": true,
"title": "Select last three drives",
"type": "link",
"url": "/d/FkUpJpQZk/trip?from=$from"
Expand Down Expand Up @@ -1914,8 +1914,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2231,8 +2230,7 @@
"mode": "absolute",
"steps": [
{
"color": "#96D98D",
"value": null
"color": "#96D98D"
},
{
"color": "#56A64B",
Expand Down Expand Up @@ -2451,8 +2449,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2637,8 +2634,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2925,7 +2921,7 @@
]
},
"time": {
"from": "now-24h",
"from": "2024-11-02T13:34:36.487Z",
"to": "now"
},
"timepicker": {
Expand Down

0 comments on commit 08873c7

Please sign in to comment.