aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/generator_tables.py2
-rw-r--r--resources/tools/presentation/specification_CPTA.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 65bf6d562e..814fbe450c 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -595,7 +595,7 @@ def table_performance_trending_dashboard(table, input_data):
else:
anomaly = "normal"
- if not isnan(last) and not isnan(trend):
+ if not isnan(last) and not isnan(trend) and trend != 0:
# Change:
change = round(float(last - trend) / 1000000, 2)
# Relative change:
diff --git a/resources/tools/presentation/specification_CPTA.yaml b/resources/tools/presentation/specification_CPTA.yaml
index 510c932077..d4317e3f37 100644
--- a/resources/tools/presentation/specification_CPTA.yaml
+++ b/resources/tools/presentation/specification_CPTA.yaml
@@ -90,7 +90,7 @@
yaxis:
showticklabels: True
tickformat: ".3s"
- title: "Throughput [Mpps]"
+ title: "Throughput [pps]"
hoverformat: ".4s"
range: []
gridcolor: "rgb(238, 238, 238)"