Skip to content

Commit

Permalink
small visual distinguish between AC & DC charging in charges dashboar…
Browse files Browse the repository at this point in the history
…d and unification of the DC coloring in all dashboards (#4124)

* Small visual distinguish between AC & DC charging

* Updated the color in charging-stats dashboard so that it has the same color as that of battery-health dashboard

* Making sure the color is same as that of other dashboards
  • Loading branch information
stauffenberg2020 authored Aug 6, 2024
1 parent db68836 commit 24890cd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
29 changes: 29 additions & 0 deletions grafana/dashboards/charges.json
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,35 @@
"value": 62
}
]
},
{
"matcher": {
"id": "byName",
"options": "charge_type"
},
"properties": [
{
"id": "color"
},
{
"id": "mappings",
"value": [
{
"options": {
"AC": {
"color": "green",
"index": 0
},
"DC": {
"color": "light-orange",
"index": 1
}
},
"type": "value"
}
]
}
]
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions grafana/dashboards/charging-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@
{
"id": "color",
"value": {
"fixedColor": "#FADE2A",
"fixedColor": "light-orange",
"mode": "fixed"
}
}
Expand Down Expand Up @@ -1556,7 +1556,7 @@
{
"id": "color",
"value": {
"fixedColor": "#FADE2A",
"fixedColor": "light-orange",
"mode": "fixed"
}
}
Expand Down

0 comments on commit 24890cd

Please sign in to comment.