GnuCash
Contact   Instructions
Bug 797830 - Expense over time has extra empty row
Summary: Expense over time has extra empty row
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Reports (show other bugs)
Version: 4.0
Hardware: PC Mac OS
: Normal major
Target Milestone: ---
Assignee: reports
QA Contact: reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-30 01:53 EDT by Peter Kane
Modified: 2020-06-30 18:13 EDT (History)
3 users (show)

See Also:


Attachments
The expense over time graph has an empty, extra Bar at the end (534.75 KB, image/png)
2020-06-30 01:53 EDT, Peter Kane
no flags Details

Description Peter Kane 2020-06-30 01:53:10 EDT
Created attachment 373755 [details]
The expense over time graph has an empty, extra Bar at the end

The expense over time graph has an empty, extra row.
on the screenshot notice the 4 data rows, but 5 slots for data, including an extra, empty one

Version: 4.0
Build ID: 4.0+(2020-06-27)
Finance::Quote: -

Mac 10.15.5
Comment 1 Christopher Lam 2020-06-30 08:25:22 EDT
This is probably caused by html-chart edge cases.
Can you describe the report options? Selects expense accounts?
It may be easier to locate saved-reports-2.8 and copy the relevant section.
Comment 2 Christopher Lam 2020-06-30 09:53:32 EDT
Ok I've reproduced this bug which is definitely only cosmetic. You can safely ignore the blank column. All numbers should match up. You can modify category-barchart.scm as follows: just replace "let" with "let*". Alternatively this will be fixed for 4.1 onwards, or in the regular nightlies.

https://github.com/Gnucash/gnucash/commit/7d02897dd222ea71b597674327a76b4e9cd2057a
Comment 3 Peter Kane 2020-06-30 18:13:32 EDT
thanks. I'll have a look at changing the .scm file

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