summaryrefslogtreecommitdiff
path: root/grafana_dashboards/schema/panel/singlestat.py
diff options
context:
space:
mode:
Diffstat (limited to 'grafana_dashboards/schema/panel/singlestat.py')
-rw-r--r--grafana_dashboards/schema/panel/singlestat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grafana_dashboards/schema/panel/singlestat.py b/grafana_dashboards/schema/panel/singlestat.py
index cd0e202..5accc18 100644
--- a/grafana_dashboards/schema/panel/singlestat.py
+++ b/grafana_dashboards/schema/panel/singlestat.py
@@ -60,7 +60,7 @@ class Singlestat(Base):
60 v.Required( 60 v.Required(
61 'valueFontSize', default='80%'): v.All( 61 'valueFontSize', default='80%'): v.All(
62 v.Match(r'^[1-9]?[0]{1}%$|^1[0-9]?[0]{1}%$|^200%$')), 62 v.Match(r'^[1-9]?[0]{1}%$|^1[0-9]?[0]{1}%$|^200%$')),
63 v.Required('valueName', default='avg'): v.All( 63 v.Required('valueName', default='avg'): v.Any(
64 'avg', 'current', 'max', 'min', 'total'), 64 'avg', 'current', 'max', 'min', 'total'),
65 v.Optional('decimals'): v.All(int, v.Range(min=0, max=12)), 65 v.Optional('decimals'): v.All(int, v.Range(min=0, max=12)),
66 } 66 }