Bug 391961 - Home page Net Worth Forecast Y axis starts at 0
Summary: Home page Net Worth Forecast Y axis starts at 0
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 391979 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-17 12:06 UTC by Danny Scott
Modified: 2018-03-27 18:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Scott 2018-03-17 12:06:03 UTC
I have a 7 digit net worth. The starting point on the Y axis is 0, so I see a flat line on the plot.

When I use the Net Worth Graph in reports, it starts the Y axis at a value close to the minimum value in the range.

This is not an urgent issue.

KMyMoney 5.0.0 openSUSE Tumbleweed
Comment 1 Thomas Baumgart 2018-03-18 07:00:38 UTC
*** Bug 391979 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Baumgart 2018-03-18 08:37:33 UTC
Git commit 9a10e310b101818c36a6cafc62942f51a6c230c3 by Thomas Baumgart.
Committed on 18/03/2018 at 08:36.
Pushed by tbaumgart into branch '5.0'.

Don't start networth forecast at balance zero

The opening balances are calculated into the eActual cell but the
forecast is based on the eForecast cell. Therefore, the opening balances
were not taken into account and the forecast graph always started out at
0 on the Y axis. Copying the opening balance value from the eActual cell
into the corresponding eForward cell solves the problem.
FIXED-IN: 5.0.1

M  +12   -0    kmymoney/reports/pivottable.cpp

https://commits.kde.org/kmymoney/9a10e310b101818c36a6cafc62942f51a6c230c3