Skip to content

Commit

Permalink
fix(dashboard): adjust the bar chart display (#6690)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrooot authored Feb 7, 2025
1 parent 54b82a7 commit f628897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboard/pages/compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,8 +532,8 @@ def get_bar_graph(df, column_name):

# Cut the text if it is too long
for i in range(len(colums)):
if len(colums[i]) > 15:
colums[i] = colums[i][:15] + "..."
if len(colums[i]) > 43:
colums[i] = colums[i][:43] + "..."

fig = px.bar(
df,
Expand Down

0 comments on commit f628897

Please sign in to comment.