Missing Datapoints in Fava Chart when the selected account has only a few Transactions

24 views
Skip to first unread message

Munawar Ahmed

unread,
Oct 13, 2018, 8:06:20 AM10/13/18
to Beancount
Thanks to Dominik Aumayr, Martin Blais and the community for giving this elegant, transparent, easy-to-use and error-checking application.

I have been using it since early August this year and recently noted an anomaly. The Account Balance chart (monthly basis) does not show some datapoints, apparently when selected account for the chart has only a few transactions. To simulate this effect I used the following simple file:

*Options

option "title" "Sample"
option "operating_currency" "PKR"
option "render_commas" "true"

*Commodities

2018-06-30 commodity PKR
  export: "CASH"
  name: "Pakistan Rupees"

*Equity

2018-06-30 open Equity:Opening-Balances
2018-06-30 open Liabilities:Alfalahcard

*Expenses

2018-06-30 open Expenses:Gift

*Assets

2018-06-30 open Assets:Current:Cash

*Transactions

2018-06-30 * "opening balance"
  Liabilities:Alfalahcard     0 PKR
  Equity:Opening-Balances

2018-08-22 * "Pie in the Sky" "cake"
  Expenses:Gift                         870 PKR
  Liabilities:Alfalahcard
  
  2018-08-24 * "Pie in the Sky" "cake"
  Expenses:Gift                         834 PKR
  Liabilities:Alfalahcard

2018-10-01 * "Alfalahcard" "payment for Sep 18"
  Liabilities:Alfalahcard  1704 PKR
  Assets:Current:Cash

Now if I run it with Fava[excel] 1.8 or 1.9, the 'Account Balance' chart (monthly basis) for account 'Liabilities:Alfalahcard' in 'Balance Sheet' report does not show the earliest and latest transactions as datapoints.

Also if I run it with Fava[exce] 1.7, the same chart misses only the earliest transaction.

My browser is Firefox 62.0.3(64-bit) and my OS is Linux Fedora 28.

Any idea what is happening here and how can I rectify the anomaly.

Regards

Munawar Ahmed
Reply all
Reply to author
Forward
0 new messages