fix: update bar chart max value based on view type
This commit is contained in:
parent
6a00b9207e
commit
bd3ee8db53
@ -142,7 +142,7 @@ export const UiChartBar = () => {
|
||||
scales: {
|
||||
y: {
|
||||
beginAtZero: true,
|
||||
max: selectedYear ? 100 : 1500,
|
||||
max: view == 'month' ? 100 : 1500,
|
||||
ticks: {
|
||||
stepSize: 25,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user