Bug 391961

Summary: Home page Net Worth Forecast Y axis starts at 0
Product: [Applications] kmymoney Reporter: Danny Scott <doscott>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: peterzay1
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=392407
Latest Commit: Version Fixed In: 5.0.1

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