mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-08 13:55:21 +02:00
fix: networth charts starting on bottom
This commit is contained in:
@@ -126,7 +126,6 @@
|
|||||||
...Object.fromEntries(currencies.map((currency, i) => [
|
...Object.fromEntries(currencies.map((currency, i) => [
|
||||||
`y${i}`,
|
`y${i}`,
|
||||||
{
|
{
|
||||||
beginAtZero: true,
|
|
||||||
type: 'linear',
|
type: 'linear',
|
||||||
display: true,
|
display: true,
|
||||||
grid: {
|
grid: {
|
||||||
@@ -180,7 +179,6 @@
|
|||||||
...Object.fromEntries(accounts.map((account, i) => [
|
...Object.fromEntries(accounts.map((account, i) => [
|
||||||
`y-axis-${i}`,
|
`y-axis-${i}`,
|
||||||
{
|
{
|
||||||
beginAtZero: true,
|
|
||||||
type: 'linear',
|
type: 'linear',
|
||||||
display: true,
|
display: true,
|
||||||
position: i % 2 === 0 ? 'left' : 'right',
|
position: i % 2 === 0 ? 'left' : 'right',
|
||||||
|
|||||||
Reference in New Issue
Block a user