X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=csit.infra.dash%2Fapp%2Fcdash%2Ftrending%2Fgraphs.py;h=32ab8df6107846d00100c1fed2c55d9a03d3a870;hb=refs%2Fchanges%2F75%2F38975%2F4;hp=7b14501decb7c0e7495e301fbcd4766dbd1b7c5d;hpb=b8e06ce97d82640528b2180de409e324b41f2fd7;p=csit.git
diff --git a/csit.infra.dash/app/cdash/trending/graphs.py b/csit.infra.dash/app/cdash/trending/graphs.py
index 7b14501dec..32ab8df610 100644
--- a/csit.infra.dash/app/cdash/trending/graphs.py
+++ b/csit.infra.dash/app/cdash/trending/graphs.py
@@ -502,7 +502,7 @@ def graph_tm_trending(
anomaly_color.append(C.ANOMALY_COLOR[anomaly])
hover_itm = (
f"date: {x_axis[idx].strftime('%Y-%m-%d %H:%M:%S')}"
- f"
trend: {trend_avg[idx]:,.0f}"
+ f"
trend: {trend_avg[idx]:,.2f}"
f"
classification: {anomaly}"
)
hover.append(hover_itm)
@@ -576,4 +576,4 @@ def graph_tm_trending(
graph.update_layout(graph_layout)
tm_trending_graphs.append((graph, all_tests, ))
- return tm_trending_graphs, all_metrics
+ return tm_trending_graphs, list(all_metrics)