Skip to content

Commit

Permalink
fix(line-chart): add more space to y axis
Browse files Browse the repository at this point in the history
  • Loading branch information
BreadGenie committed Jan 9, 2025
1 parent 03f6908 commit b015de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/components/charts/LineChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const initOptions = {
const options = ref({
grid: {
top: 20,
left: 40,
left: 50,
right: 20,
bottom: data.value.datasets.length > 1 ? 60 : 30 // if there's legend show more space for it
},
Expand Down

0 comments on commit b015de5

Please sign in to comment.