fix: networth charts starting on bottom

This commit is contained in:
Herculino Trotta
2024-10-14 21:26:30 -03:00
parent 84177b303b
commit e12b5e62c4

View File

@@ -126,7 +126,6 @@
...Object.fromEntries(currencies.map((currency, i) => [
`y${i}`,
{
beginAtZero: true,
type: 'linear',
display: true,
grid: {
@@ -180,7 +179,6 @@
...Object.fromEntries(accounts.map((account, i) => [
`y-axis-${i}`,
{
beginAtZero: true,
type: 'linear',
display: true,
position: i % 2 === 0 ? 'left' : 'right',