Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cash flow report labels not rendering properly for new accounts with no transaction history #2710

Closed
2 tasks done
sehnsucht13 opened this issue May 6, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers user interface Related to the user interface

Comments

@sehnsucht13
Copy link

sehnsucht13 commented May 6, 2024

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)

What happened?

The Cash Flow report labels for Income and Expenses are rendered on top of each other for new accounts with 0 transactions.

image

Steps to reproduce:

  1. Start a new actual instance using the Docker instructions in the wiki.
  2. Navigate to Actual using firefox (Version: 125.0.3 (64-bit))
  3. Enter a new password for the instance
  4. Navigate to the Reports section using the sidebar
  5. You should see the Cash Flow chart labels on the X-Axis overlapping with one another.

Notes

  • Adding some sort of income fixes the Cash Flow graph
  • I'm running Actual using Ubuntu via WSL on windows 10.
  • The same issue might happen with other browsers but I haven't tested it.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox

Operating System

Linux

@sehnsucht13 sehnsucht13 added the bug Something isn't working label May 6, 2024
@MatissJanis MatissJanis added good first issue Good for newcomers help wanted Extra attention is needed user interface Related to the user interface labels May 6, 2024
@Tigatok
Copy link
Contributor

Tigatok commented May 17, 2024

Is hiding the bar graph when income/expense === 0 a valid strategy here? Fixed, with offset stuff looks like this:
image

If we remove when 0,
image

Finally, if we stick to offset of 20, we can ensure that the income will always be on the left/expense on the right
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers user interface Related to the user interface
Projects
None yet
Development

No branches or pull requests

3 participants