This commit is contained in:
insvrgent
2025-02-03 14:38:18 +07:00
parent f6bc5dc401
commit 8676621fe2
3 changed files with 10 additions and 7 deletions

View File

@@ -165,10 +165,10 @@ const DailyCharts = ({ incomeGraph, transactionGraph, materialGraph, colors, typ
},
},
yaxis: {
show: false,
max: globalMax,
min: 0,
labels: {
maxWidth: 20,
style: {
colors: "transparent",
},

View File

@@ -105,7 +105,8 @@ if (aggregatedCurrentReports || aggregatedPreviousReports) {
}
}
},
yaxis: { show: false, max: globalMax, min: 0, labels: { style: { colors: "transparent" } } },
yaxis: { max: globalMax, min: 0, labels: {
maxWidth: 20, style: { colors: "transparent" } } },
grid: { show: false },
fill: { opacity: 0.5 },
colors: [colors[0]],
@@ -166,7 +167,7 @@ if (aggregatedCurrentReports || aggregatedPreviousReports) {
}
}
},
yaxis: { show: false, max: globalMax, min: 0, labels: { style: { colors: "transparent" } } },
yaxis: { max: globalMax, min: 0, labels: { maxWidth: 20, style: { colors: "transparent" } } },
grid: { show: false },
fill: { opacity: 0.5 },
colors: [colors[1]],