fix(dashboard): adjust the bar chart display (#6690)

This commit is contained in:
Pedro Martín
2025-02-07 16:05:30 +01:00
committed by GitHub
parent 54b82a78e3
commit f628897fe1

View File

@@ -532,8 +532,8 @@ def get_bar_graph(df, column_name):
# Cut the text if it is too long # Cut the text if it is too long
for i in range(len(colums)): for i in range(len(colums)):
if len(colums[i]) > 15: if len(colums[i]) > 43:
colums[i] = colums[i][:15] + "..." colums[i] = colums[i][:43] + "..."
fig = px.bar( fig = px.bar(
df, df,