Private
Public Access
1
0

adding metric

This commit is contained in:
2024-03-07 18:02:27 +01:00
parent 220faeb46d
commit 8904e79114

View File

@@ -2107,7 +2107,9 @@ def interactive_histoall(theworkouts, histoparam, includereststrokes,
histopwr = histopwr[histopwr > yaxminima[histoparam]]
histopwr = histopwr[histopwr < yaxmaxima[histoparam]]
data_dict = {"data": histopwr.tolist()}
data_dict = {"data": histopwr.tolist(),
"metric": metricsdicts[histoparam]["verbose_name"]}
print(data_dict)
script, div = get_chart("/histogram", data_dict, debug=False)
return script, div