Skip to content

Commit

Permalink
fix: make categories stacked bar span full width
Browse files Browse the repository at this point in the history
  • Loading branch information
muety committed May 11, 2024
1 parent 0f5bd41 commit 1b230bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/assets/js/summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ function draw(subselection) {
callback: (label) => label.toString().toHHMMSS(),
},
stacked: true,
max: wakapiData.categories.map(c => c.total).reduce((a, b) => a+b, 0)
},
y: {
stacked: true,
Expand Down

0 comments on commit 1b230bb

Please sign in to comment.