mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
StatPanel: Refactoring & fixes (#21437)
* refactoring BigValue layout to use polymorphism * Renamed file * StatPanel: Fixed min & max handling, white theme background * Typescript and test fixes * Fixed justify center logic * Updated test dashboard * Updated test dashboard * Adjust time xMax to align with last data point if it's close * Fixed color issue * removed text shadow * Removed unused stuff * Fixed auto min max * Fixed strict typescript issues * Updated
This commit is contained in:
@@ -33,8 +33,6 @@
|
||||
"calcs": ["mean"],
|
||||
"defaults": {
|
||||
"mappings": [],
|
||||
"max": 100,
|
||||
"min": 0,
|
||||
"thresholds": [
|
||||
{
|
||||
"color": "blue",
|
||||
@@ -57,7 +55,7 @@
|
||||
"value": 80
|
||||
}
|
||||
],
|
||||
"unit": "percent"
|
||||
"unit": "areaM2"
|
||||
},
|
||||
"override": {},
|
||||
"values": false
|
||||
@@ -124,8 +122,6 @@
|
||||
"calcs": ["mean"],
|
||||
"defaults": {
|
||||
"mappings": [],
|
||||
"max": 100,
|
||||
"min": 0,
|
||||
"thresholds": [
|
||||
{
|
||||
"color": "blue",
|
||||
@@ -215,8 +211,6 @@
|
||||
"calcs": ["mean"],
|
||||
"defaults": {
|
||||
"mappings": [],
|
||||
"max": 100,
|
||||
"min": 0,
|
||||
"thresholds": [
|
||||
{
|
||||
"color": "blue",
|
||||
@@ -239,7 +233,7 @@
|
||||
"value": 80
|
||||
}
|
||||
],
|
||||
"unit": "percent"
|
||||
"unit": "areaM2"
|
||||
},
|
||||
"override": {},
|
||||
"values": false
|
||||
@@ -300,8 +294,6 @@
|
||||
"calcs": ["mean"],
|
||||
"defaults": {
|
||||
"mappings": [],
|
||||
"max": 100,
|
||||
"min": 0,
|
||||
"thresholds": [
|
||||
{
|
||||
"color": "blue",
|
||||
@@ -324,7 +316,7 @@
|
||||
"value": 80
|
||||
}
|
||||
],
|
||||
"unit": "percent"
|
||||
"unit": "areaM2"
|
||||
},
|
||||
"override": {},
|
||||
"values": false
|
||||
@@ -388,8 +380,6 @@
|
||||
"calcs": ["mean"],
|
||||
"defaults": {
|
||||
"mappings": [],
|
||||
"max": 100,
|
||||
"min": 0,
|
||||
"thresholds": [
|
||||
{
|
||||
"color": "blue",
|
||||
@@ -412,7 +402,7 @@
|
||||
"value": 80
|
||||
}
|
||||
],
|
||||
"unit": "percent"
|
||||
"unit": "areaM2"
|
||||
},
|
||||
"override": {},
|
||||
"values": false
|
||||
@@ -476,8 +466,6 @@
|
||||
"calcs": ["mean"],
|
||||
"defaults": {
|
||||
"mappings": [],
|
||||
"max": 100,
|
||||
"min": 0,
|
||||
"thresholds": [
|
||||
{
|
||||
"color": "blue",
|
||||
@@ -500,7 +488,7 @@
|
||||
"value": 80
|
||||
}
|
||||
],
|
||||
"unit": "percent"
|
||||
"unit": "areaM2"
|
||||
},
|
||||
"override": {},
|
||||
"values": false
|
||||
|
||||
Reference in New Issue
Block a user