monitoring: fix clipped values in compact split panel
This commit is contained in:
parent
0a28cf07c2
commit
f6b97ac82e
@ -1163,6 +1163,7 @@ def canvas_two_metric_row_panel(
|
||||
links=None,
|
||||
description=None,
|
||||
metric_size=30,
|
||||
metric_top=10,
|
||||
color_fields=None,
|
||||
thresholds=None,
|
||||
):
|
||||
@ -1229,8 +1230,8 @@ def canvas_two_metric_row_panel(
|
||||
"type": "frame",
|
||||
"name": f"{title} frame",
|
||||
"elements": [
|
||||
metric_element("Cell 1", targets[0]["legendFormat"], 12, 38, color_fields[0]),
|
||||
metric_element("Cell 2", targets[1]["legendFormat"], 168, 38, color_fields[1]),
|
||||
metric_element("Cell 1", targets[0]["legendFormat"], 12, metric_top, color_fields[0]),
|
||||
metric_element("Cell 2", targets[1]["legendFormat"], 168, metric_top, color_fields[1]),
|
||||
],
|
||||
"background": {"color": {"fixed": "transparent"}},
|
||||
"border": {"color": {"fixed": "transparent"}},
|
||||
|
||||
@ -1163,7 +1163,7 @@
|
||||
},
|
||||
"placement": {
|
||||
"left": 12,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1202,7 +1202,7 @@
|
||||
},
|
||||
"placement": {
|
||||
"left": 168,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1346,7 +1346,7 @@
|
||||
},
|
||||
"placement": {
|
||||
"left": 12,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1385,7 +1385,7 @@
|
||||
},
|
||||
"placement": {
|
||||
"left": 168,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1583,7 +1583,7 @@
|
||||
},
|
||||
"placement": {
|
||||
"left": 12,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1622,7 +1622,7 @@
|
||||
},
|
||||
"placement": {
|
||||
"left": 168,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1766,7 +1766,7 @@
|
||||
},
|
||||
"placement": {
|
||||
"left": 12,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1805,7 +1805,7 @@
|
||||
},
|
||||
"placement": {
|
||||
"left": 168,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
|
||||
@ -1172,7 +1172,7 @@ data:
|
||||
},
|
||||
"placement": {
|
||||
"left": 12,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1211,7 +1211,7 @@ data:
|
||||
},
|
||||
"placement": {
|
||||
"left": 168,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1355,7 +1355,7 @@ data:
|
||||
},
|
||||
"placement": {
|
||||
"left": 12,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1394,7 +1394,7 @@ data:
|
||||
},
|
||||
"placement": {
|
||||
"left": 168,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1592,7 +1592,7 @@ data:
|
||||
},
|
||||
"placement": {
|
||||
"left": 12,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1631,7 +1631,7 @@ data:
|
||||
},
|
||||
"placement": {
|
||||
"left": 168,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1775,7 +1775,7 @@ data:
|
||||
},
|
||||
"placement": {
|
||||
"left": 12,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
@ -1814,7 +1814,7 @@ data:
|
||||
},
|
||||
"placement": {
|
||||
"left": 168,
|
||||
"top": 38,
|
||||
"top": 10,
|
||||
"width": 146,
|
||||
"height": 42
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user