After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 343449 - Pie charts should show percentages
Pie charts should show percentages
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
unspecified
Other All
: Low enhancement
: ---
Assigned To: Mike Evans
Chris Lyttle
: 129748 568133 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-30 23:48 UTC by Bill Wohler
Modified: 2018-06-29 21:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add percentages to pie chart reports. (1.91 KB, patch)
2010-10-28 16:49 UTC, Mike Evans
committed Details | Review

Description Bill Wohler 2006-05-30 23:48:05 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).
Comment 1 Christian Stimming 2006-10-04 11:03:10 UTC
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.

Comment 2 Bill Wohler 2008-07-12 07:22:46 UTC
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?
Comment 3 Bill Wohler 2008-07-12 07:47:52 UTC
I neglected to mention: I'm currently at 2.2.4.
Comment 4 Alexander Weiss 2009-01-19 12:42:10 UTC
*** Bug 568133 has been marked as a duplicate of this bug. ***
Comment 5 Alexander Weiss 2009-01-19 12:45:54 UTC
Within bug 568133 I've added a solution which adds the percentage information to the pie chart history (like the total ammount)
Comment 6 Mike Evans 2010-10-28 16:49:37 UTC
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 7 Christian Stimming 2010-10-29 11:25:08 UTC
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 8 Mike Evans 2010-12-29 12:32:28 UTC
Comment on attachment 173416 [details] [review]
Patch to add percentages to pie chart reports.

Committed as r19989.
Comment 9 Bill Wohler 2010-12-29 17:15:27 UTC
Thanks!
Comment 10 Christian Stimming 2010-12-31 11:25:10 UTC
*** Bug 129748 has been marked as a duplicate of this bug. ***
Comment 11 John Ralls 2018-06-29 21:06:18 UTC
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.