diff --git a/dashboards/dashboard_base.py b/dashboards/dashboard_base.py index 65e1617b58ee4ac8e0031d441074a4313d1f27b3..67041a19a04b2371736759297dbbeb358dfba4cd 100644 --- a/dashboards/dashboard_base.py +++ b/dashboards/dashboard_base.py @@ -81,7 +81,7 @@ def build_row_repeat_dashboard( dataSource=dataSource, targets=[get_influx_target(str(panel_query))], repeat=Repeat('h', panel_repeat_var.name), - unit=unit, + axisLabel=unit, pointSize=9, ), ], diff --git a/tests/test_dashboard_creation.py b/tests/test_dashboard_creation.py index a0d40ffe16f59384d3b35d7508085a042b026d3e..9e6c1d6fed504093b4762fd9e6e74a59a1fb873e 100644 --- a/tests/test_dashboard_creation.py +++ b/tests/test_dashboard_creation.py @@ -63,7 +63,7 @@ dashboard = Dashboard( get_influx_target(str(q1)) ], repeat=Repeat('h', host_var.name), - unit='MLUPS per process', + axisLabel='MLUPS per process', pointSize=9, ), ],