Skip to content

Commit

Permalink
Always display legend at the bottom on pie chart
Browse files Browse the repository at this point in the history
  • Loading branch information
nzxl101 committed Jan 24, 2025
1 parent 43c9216 commit c223849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/app/www/public/js/overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function drawPieChart(type)
},
legend: {
display: true,
position: data.labels.length < 10 ? 'bottom' : 'left'
position: 'bottom'
},
title: {
display: true,
Expand Down

0 comments on commit c223849

Please sign in to comment.