GnuCash
Contact   Instructions
Bug 797835 - Zero Crossing in 4.0 that wasn't in 3.10
Summary: Zero Crossing in 4.0 that wasn't in 3.10
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Reports (show other bugs)
Version: 4.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: reports
QA Contact: reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-01 06:12 EDT by Peter Kane
Modified: 2020-07-01 21:01 EDT (History)
4 users (show)

See Also:


Attachments
3.10 linechart - non-zero crossing (723.14 KB, image/png)
2020-07-01 06:12 EDT, Peter Kane
no flags Details
4.0 linchart - zero crossing (767.61 KB, image/png)
2020-07-01 06:12 EDT, Peter Kane
no flags Details

Description Peter Kane 2020-07-01 06:12:09 EDT
Created attachment 373762 [details]
3.10 linechart - non-zero crossing

There are a number of reports in 4.0 that now have zero on the vertical axis, whereas before there was a non-zero value.
Eg net worth linechart.

I guess it's not really a bug, but it's changed functionality. can either the same functionality be returned, or an option for manual or automatic y axis crossing be instated.

I'll attach examples
Comment 1 Peter Kane 2020-07-01 06:12:38 EDT
Created attachment 373763 [details]
4.0 linchart - zero crossing
Comment 2 Christopher Lam 2020-07-01 06:39:34 EDT
It can certainly be modified. Would other devs prefer change as requested, or include option to include zero?
Comment 3 Christopher Lam 2020-07-01 07:36:42 EDT
@Peter

Find the html-chart.scm file, and modify line 192 as follows:

from

'beginAtZero #t))))

to

'beginAtZero #f))))
Comment 4 Christopher Lam 2020-07-01 08:13:30 EDT
I'm anticipating that adding a new option is not necessary, therefore have fixed to revert to 3.x behaviour.
Comment 5 Peter Kane 2020-07-01 20:23:49 EDT
Where are the .scm files kept on macOS? Or would I have to build gnucash?
Comment 6 John Ralls 2020-07-01 21:01:18 EDT
/Applications/Gnucash.app/Contents/Resources/share/guile/site/2.2/gnucash

Note You need to log in before you can comment on or make changes to this bug.