Compare commits
14 commits
quality-pr
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc6404a114 | ||
|
|
03ceeb4d2d | ||
|
|
d6fd8cf0cf | ||
| 4b738fbcb7 | |||
| f0de4057b3 | |||
| e5c9d0f4c4 | |||
| 6371967f8d | |||
| f42eef6653 | |||
| 809dbb165c | |||
| 5f24c158e2 | |||
| 8d1f40de1c | |||
| f2222593a3 | |||
| 6b4e09670a | |||
| 5fa87a712e |
1 changed files with 11 additions and 10 deletions
|
|
@ -111,7 +111,7 @@
|
||||||
},
|
},
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"unit": "lengthkm",
|
"unit": "none",
|
||||||
"decimals": 1,
|
"decimals": 1,
|
||||||
"color": { "mode": "fixed", "fixedColor": "blue" }
|
"color": { "mode": "fixed", "fixedColor": "blue" }
|
||||||
}
|
}
|
||||||
|
|
@ -133,7 +133,7 @@
|
||||||
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }
|
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }
|
||||||
},
|
},
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": { "unit": "h", "decimals": 1, "color": { "mode": "fixed", "fixedColor": "green" } }
|
"defaults": { "unit": "none", "decimals": 1, "color": { "mode": "fixed", "fixedColor": "green" } }
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{ "datasource": { "type": "postgres", "uid": "tracksolid_pg" },
|
{ "datasource": { "type": "postgres", "uid": "tracksolid_pg" },
|
||||||
|
|
@ -154,7 +154,7 @@
|
||||||
},
|
},
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"unit": "h", "decimals": 1,
|
"unit": "none", "decimals": 1,
|
||||||
"color": { "mode": "thresholds" },
|
"color": { "mode": "thresholds" },
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
|
|
@ -256,7 +256,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tooltip": { "mode": "details" },
|
"tooltip": { "mode": "details" },
|
||||||
"view": { "allLayers": true, "id": "coords", "lat": -1.5, "lon": 36.5, "zoom": 6 }
|
"view": { "allLayers": true, "id": "coords", "lat": -3.0, "lon": 34.5, "zoom": 5.5, "minZoom": 5.5, "maxZoom": 22 }
|
||||||
},
|
},
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": { "color": { "mode": "palette-classic-by-name" } },
|
"defaults": { "color": { "mode": "palette-classic-by-name" } },
|
||||||
|
|
@ -335,11 +335,11 @@
|
||||||
"defaults": { "custom": { "align": "auto", "filterable": true } },
|
"defaults": { "custom": { "align": "auto", "filterable": true } },
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{ "matcher": { "id": "byName", "options": "km_today" },
|
{ "matcher": { "id": "byName", "options": "km_today" },
|
||||||
"properties": [{ "id": "unit", "value": "lengthkm" }, { "id": "decimals", "value": 1 }] },
|
"properties": [{ "id": "unit", "value": "none" }, { "id": "decimals", "value": 1 }, { "id": "displayName", "value": "km today" }] },
|
||||||
{ "matcher": { "id": "byName", "options": "drive_hours" },
|
{ "matcher": { "id": "byName", "options": "drive_hours" },
|
||||||
"properties": [{ "id": "unit", "value": "h" }, { "id": "decimals", "value": 1 }] },
|
"properties": [{ "id": "unit", "value": "none" }, { "id": "decimals", "value": 1 }, { "id": "displayName", "value": "Drive h" }] },
|
||||||
{ "matcher": { "id": "byName", "options": "idle_hours" },
|
{ "matcher": { "id": "byName", "options": "idle_hours" },
|
||||||
"properties": [{ "id": "unit", "value": "h" }, { "id": "decimals", "value": 1 }] },
|
"properties": [{ "id": "unit", "value": "none" }, { "id": "decimals", "value": 1 }, { "id": "displayName", "value": "Idle h" }] },
|
||||||
{ "matcher": { "id": "byName", "options": "did_not_move" },
|
{ "matcher": { "id": "byName", "options": "did_not_move" },
|
||||||
"properties": [
|
"properties": [
|
||||||
{ "id": "custom.cellOptions", "value": { "type": "color-background" } },
|
{ "id": "custom.cellOptions", "value": { "type": "color-background" } },
|
||||||
|
|
@ -378,7 +378,7 @@
|
||||||
"defaults": { "custom": { "align": "auto", "filterable": true } },
|
"defaults": { "custom": { "align": "auto", "filterable": true } },
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{ "matcher": { "id": "byName", "options": "km" },
|
{ "matcher": { "id": "byName", "options": "km" },
|
||||||
"properties": [{ "id": "unit", "value": "lengthkm" }, { "id": "decimals", "value": 0 }] },
|
"properties": [{ "id": "unit", "value": "none" }, { "id": "decimals", "value": 0 }, { "id": "displayName", "value": "km" }] },
|
||||||
{ "matcher": { "id": "byName", "options": "speeding_per_100km" },
|
{ "matcher": { "id": "byName", "options": "speeding_per_100km" },
|
||||||
"properties": [
|
"properties": [
|
||||||
{ "id": "custom.cellOptions", "value": { "type": "color-background" } },
|
{ "id": "custom.cellOptions", "value": { "type": "color-background" } },
|
||||||
|
|
@ -424,8 +424,9 @@
|
||||||
"options": { "legend": { "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "multi" } },
|
"options": { "legend": { "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "multi" } },
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"unit": "lengthkm",
|
"unit": "none",
|
||||||
"custom": { "drawStyle": "bars", "fillOpacity": 60, "lineWidth": 1 }
|
"decimals": 1,
|
||||||
|
"custom": { "drawStyle": "bars", "fillOpacity": 60, "lineWidth": 1, "axisLabel": "km" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue