Marko Kocić
unread,May 2, 2013, 9:16:13 AM5/2/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hle...@googlegroups.com
Hi Simon,
When starting to actually use multiple currencies, I found that that nice and useful graph on hledge-web started to look weird. Take this[1] hledger that demonstrates the problem.
The graph looks fine and well until first $ transaction. Then, It starts to display 300 as a value in graph, regardless of other transactions after that.
To be honest, I don't know what would be the best way to graph when having multiple currencies in an account.
- One way would be to have multiple lines in graph (one per currency).
- Another one would be to calculate and display totals based on current exchange rate extracted from transactions.
- Leave it as is, and suggest a workaround for dealing with multiple currencies.
In general, I am open to hear how are people using multiple currencies in hledger, especially in hledger-web context.
Best regards,
Marko Kocić
[1]
;; -*- mode: ledger-*-
;; Set default currency and format
D 1000.00 €
2013/01/01 Test
assets:paypal 100
income:admob
2013/01/02 Test
assets:paypal 100
income:admob
2013/01/03 Test
assets:paypal 100
income:admob
2013/01/04 Test
assets:paypal 100
income:admob
2013/01/05 Test
assets:paypal 100
income:admob
2013/01/06 Hosting
expenses:hosting 300$
assets:paypal -250
2013/01/07 Test
assets:paypal 100
income:admob