#239 Graph in reportcategexp from "upper" categories

1.0.0.0
closed-fixed
James
Reports (13)
5
2014-01-25
2012-03-13
mtrun
No
0 up votes | 0 down votes | 0%
4 comments

Hello,

MMEx is really convenient for me and first of all, I wana thank you for it.

When using, I have defined several categories and subcategories and then I realised, that in Reports, I want graphs not for each subcategory, but for upper categories only. So, god bless to open source:), I did this little change in code, and it does what I want. And because I may not be the only person who wants this, here I'm givin you a few lines of code. For example, it would be great if I could switch between this graph and the current version in report.

$ diff MY_reportcategexp.cpp CURRENT_reportcategexp.cpp
71d70
< std::vector<ValuePair> valueListTotals;
170,173d168
< ValuePair vp_total;
< vp_total.label = categString;
< vp_total.amount = categtotal;
< valueListTotals.push_back(vp_total);
196c191
< gg.init(valueListTotals);
---
> gg.init(valueList);

Related

News: 2013/11/moneymanagerex-1000-beta

Discussion

  • Nikolay
    Nikolay
    2014-01-25

    • status: open --> closed-fixed
    • Group: 0.9.9.2 --> 1.0.0.0
     


Anonymous


Cancel   Add attachments