Skip to content

Commit 0a580f1

Browse files
authored
Merge pull request #4 from jheredianet:main
Update main table appearance
2 parents 0977ac0 + f96b23a commit 0a580f1

1 file changed

Lines changed: 89 additions & 19 deletions

File tree

dashboards/Charging Costs Stats.json

Lines changed: 89 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"fiscalYearStartMonth": 0,
7373
"graphTooltip": 1,
7474
"id": null,
75-
"iteration": 1672769556295,
75+
"iteration": 1672790710530,
7676
"links": [
7777
{
7878
"icon": "dashboard",
@@ -173,7 +173,7 @@
173173
"defaults": {
174174
"decimals": 2,
175175
"mappings": [],
176-
"noValue": "0",
176+
"noValue": "0.00 €",
177177
"thresholds": {
178178
"mode": "absolute",
179179
"steps": [
@@ -782,7 +782,7 @@
782782
"decimals": 2,
783783
"displayName": "",
784784
"mappings": [],
785-
"noValue": "0",
785+
"noValue": "0.00 €",
786786
"thresholds": {
787787
"mode": "absolute",
788788
"steps": [
@@ -791,7 +791,8 @@
791791
"value": null
792792
}
793793
]
794-
}
794+
},
795+
"unit": ""
795796
},
796797
"overrides": []
797798
},
@@ -866,7 +867,7 @@
866867
},
867868
"decimals": 2,
868869
"mappings": [],
869-
"noValue": "0",
870+
"noValue": "0.00 €",
870871
"thresholds": {
871872
"mode": "absolute",
872873
"steps": [
@@ -875,7 +876,8 @@
875876
"value": null
876877
}
877878
]
878-
}
879+
},
880+
"unit": ""
879881
},
880882
"overrides": []
881883
},
@@ -913,6 +915,16 @@
913915
"rawQuery": true,
914916
"rawSql": "SELECT (\n SELECT sum(cost)\n FROM charging_processes\n WHERE $__timeFilter(end_date) AND car_id = $car_id\n) / (\n SELECT sum(greatest(charge_energy_added, charge_energy_used))\n FROM charging_processes\n WHERE $__timeFilter(end_date) AND car_id = $car_id\n)",
915917
"refId": "A",
918+
"select": [
919+
[
920+
{
921+
"params": [
922+
"value"
923+
],
924+
"type": "column"
925+
}
926+
]
927+
],
916928
"table": "drives",
917929
"timeColumn": "start_date",
918930
"timeColumnType": "timestamp",
@@ -937,7 +949,7 @@
937949
"defaults": {
938950
"decimals": 2,
939951
"mappings": [],
940-
"noValue": "0",
952+
"noValue": "0.00 €",
941953
"thresholds": {
942954
"mode": "absolute",
943955
"steps": [
@@ -1026,7 +1038,7 @@
10261038
"defaults": {
10271039
"decimals": 2,
10281040
"mappings": [],
1029-
"noValue": "0",
1041+
"noValue": "0.00 €",
10301042
"thresholds": {
10311043
"mode": "absolute",
10321044
"steps": [
@@ -1115,7 +1127,7 @@
11151127
"defaults": {
11161128
"decimals": 2,
11171129
"mappings": [],
1118-
"noValue": "0",
1130+
"noValue": "0.00 €",
11191131
"thresholds": {
11201132
"mode": "absolute",
11211133
"steps": [
@@ -1259,7 +1271,7 @@
12591271
"defaults": {
12601272
"decimals": 2,
12611273
"mappings": [],
1262-
"noValue": "0",
1274+
"noValue": "0.00 €",
12631275
"thresholds": {
12641276
"mode": "absolute",
12651277
"steps": [
@@ -1745,7 +1757,7 @@
17451757
"type": "linear"
17461758
}
17471759
},
1748-
"decimals": 2,
1760+
"decimals": 1,
17491761
"mappings": [],
17501762
"thresholds": {
17511763
"mode": "absolute",
@@ -1869,7 +1881,7 @@
18691881
"decimals": 2,
18701882
"displayName": "",
18711883
"mappings": [],
1872-
"noValue": "0",
1884+
"noValue": "0.00 €",
18731885
"thresholds": {
18741886
"mode": "absolute",
18751887
"steps": [
@@ -1878,7 +1890,8 @@
18781890
"value": null
18791891
}
18801892
]
1881-
}
1893+
},
1894+
"unit": ""
18821895
},
18831896
"overrides": []
18841897
},
@@ -1953,7 +1966,7 @@
19531966
},
19541967
"decimals": 2,
19551968
"mappings": [],
1956-
"noValue": "0",
1969+
"noValue": "0.00 €",
19571970
"thresholds": {
19581971
"mode": "absolute",
19591972
"steps": [
@@ -1962,7 +1975,8 @@
19621975
"value": null
19631976
}
19641977
]
1965-
}
1978+
},
1979+
"unit": ""
19661980
},
19671981
"overrides": []
19681982
},
@@ -2034,7 +2048,7 @@
20342048
"defaults": {
20352049
"decimals": 2,
20362050
"mappings": [],
2037-
"noValue": "0",
2051+
"noValue": "0.00 €",
20382052
"thresholds": {
20392053
"mode": "absolute",
20402054
"steps": [
@@ -2123,7 +2137,7 @@
21232137
"defaults": {
21242138
"decimals": 2,
21252139
"mappings": [],
2126-
"noValue": "0",
2140+
"noValue": "0.00 €",
21272141
"thresholds": {
21282142
"mode": "absolute",
21292143
"steps": [
@@ -2212,7 +2226,7 @@
22122226
"defaults": {
22132227
"decimals": 2,
22142228
"mappings": [],
2215-
"noValue": "0",
2229+
"noValue": "0.00 €",
22162230
"thresholds": {
22172231
"mode": "absolute",
22182232
"steps": [
@@ -2399,6 +2413,14 @@
23992413
}
24002414
]
24012415
}
2416+
},
2417+
{
2418+
"id": "custom.align",
2419+
"value": "auto"
2420+
},
2421+
{
2422+
"id": "decimals",
2423+
"value": 1
24022424
}
24032425
]
24042426
},
@@ -2425,6 +2447,10 @@
24252447
{
24262448
"id": "unit",
24272449
"value": "kwatth"
2450+
},
2451+
{
2452+
"id": "custom.align",
2453+
"value": "auto"
24282454
}
24292455
]
24302456
},
@@ -2441,6 +2467,10 @@
24412467
{
24422468
"id": "decimals",
24432469
"value": 1
2470+
},
2471+
{
2472+
"id": "custom.align",
2473+
"value": "auto"
24442474
}
24452475
]
24462476
},
@@ -2453,6 +2483,10 @@
24532483
{
24542484
"id": "decimals",
24552485
"value": 2
2486+
},
2487+
{
2488+
"id": "custom.align",
2489+
"value": "right"
24562490
}
24572491
]
24582492
},
@@ -2471,6 +2505,10 @@
24712505
"url": "d/TSmNYvRRk/charges?orgId=1&from=${__data.fields.date_from}&to=${__data.fields.date_to}&var-car_id=$car_id"
24722506
}
24732507
]
2508+
},
2509+
{
2510+
"id": "custom.align",
2511+
"value": "auto"
24742512
}
24752513
]
24762514
},
@@ -2505,6 +2543,10 @@
25052543
{
25062544
"id": "displayName",
25072545
"value": "Distance"
2546+
},
2547+
{
2548+
"id": "custom.align",
2549+
"value": "auto"
25082550
}
25092551
]
25102552
},
@@ -2545,6 +2587,10 @@
25452587
}
25462588
]
25472589
}
2590+
},
2591+
{
2592+
"id": "custom.align",
2593+
"value": "auto"
25482594
}
25492595
]
25502596
},
@@ -2561,6 +2607,10 @@
25612607
{
25622608
"id": "unit",
25632609
"value": "mi"
2610+
},
2611+
{
2612+
"id": "custom.align",
2613+
"value": "auto"
25642614
}
25652615
]
25662616
},
@@ -2580,6 +2630,10 @@
25802630
},
25812631
{
25822632
"id": "custom.width"
2633+
},
2634+
{
2635+
"id": "custom.align",
2636+
"value": "auto"
25832637
}
25842638
]
25852639
},
@@ -2599,6 +2653,10 @@
25992653
},
26002654
{
26012655
"id": "custom.width"
2656+
},
2657+
{
2658+
"id": "custom.align",
2659+
"value": "auto"
26022660
}
26032661
]
26042662
},
@@ -2633,6 +2691,10 @@
26332691
},
26342692
{
26352693
"id": "custom.width"
2694+
},
2695+
{
2696+
"id": "custom.align",
2697+
"value": "auto"
26362698
}
26372699
]
26382700
},
@@ -2670,6 +2732,10 @@
26702732
"type": "value"
26712733
}
26722734
]
2735+
},
2736+
{
2737+
"id": "custom.align",
2738+
"value": "auto"
26732739
}
26742740
]
26752741
},
@@ -2686,6 +2752,10 @@
26862752
{
26872753
"id": "unit",
26882754
"value": "fahrenheit"
2755+
},
2756+
{
2757+
"id": "custom.align",
2758+
"value": "auto"
26892759
}
26902760
]
26912761
},
@@ -3140,6 +3210,6 @@
31403210
"timezone": "browser",
31413211
"title": "Charging Costs Stats",
31423212
"uid": "LdwdLXt4z",
3143-
"version": 7,
3213+
"version": 5,
31443214
"weekStart": ""
31453215
}

0 commit comments

Comments
 (0)