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: {
|
scales: {
|
||||||
y: {
|
y: {
|
||||||
beginAtZero: true,
|
beginAtZero: true,
|
||||||
max: selectedYear ? 100 : 1500,
|
max: view == 'month' ? 100 : 1500,
|
||||||
ticks: {
|
ticks: {
|
||||||
stepSize: 25,
|
stepSize: 25,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user