GNOME Bugzilla – Bug 343449
Pie charts should show percentages
Last modified: 2018-06-29 21:06:18 UTC
Pie charts no longer show percentages in 1.9.6. By the way, if you clicked on the Others slice in 1.8, the resulting percentages were the percentage of the amount in the Others total, which is useless, rather than the percentage of the slice in the entire amount. So, when you bring the percentages back, please be sure that the percentages for all slices, even the ones you get from drilling down the Others wedge, should display the percentage of the amount of the complete total (not just the current pie).
Yes, we know this is a regression with respect to gnucash-1.8.x. However, it was difficult enough to get a different (gnome2-enabled) charting engine integrated and running again (namely the goffice library). First of all, goffice would need to provide slice-specific callback functions, and (according to bug#343607 comment#1 ) this is not the case currently. So first someone needs to implement this in goffice. Then we might re-enable this again in gnucash. But for the time being this feature is simply not available in any gnome2-enable charting engine.
Just checking my bugs to see if they are fixed, obsolete, or still applicable. This issue remains at large, as I imagine you're aware. I've also noticed that it doesn't seem possible to drill down into the Other category any more either. Have there been any changes in the underlying libraries in the past couple of years that could be taken advantage of?
I neglected to mention: I'm currently at 2.2.4.
*** Bug 568133 has been marked as a duplicate of this bug. ***
Within bug 568133 I've added a solution which adds the percentage information to the pie chart history (like the total ammount)
Created attachment 173416 [details] [review] Patch to add percentages to pie chart reports. A patch to add percentages to pie chart based on Alexander Weiss' patch but applied to current SVN version.
Comment on attachment 173416 [details] [review] Patch to add percentages to pie chart reports. Looks good. However, due to the new string it should wait until the string freeze is lifted again.
Comment on attachment 173416 [details] [review] Patch to add percentages to pie chart reports. Committed as r19989.
Thanks!
*** Bug 129748 has been marked as a duplicate of this bug. ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=343449. Please update any external references or bookmarks.