GNOME Bugzilla – Bug 113777
Colors upside down in stacked bar charts
Last modified: 2018-06-29 20:32:33 UTC
Enhancement request: In Stacked Bar Charts, the colors are displayed in the legend in the opposite order from how they are stacked in the chart. That is, if the legend shows red above orange, the bars are stacked orange above red. I know everyone does it this way, but I just realized it's topsy turvy. I think it would easier to read if both bars and legend were consistent.
Can you give an example of a report that does this? Or better yet, can you enumerate the reports where this is an issue? It would make it a lot easier to fix it without having to search each report ourselves.
Assert Bar Chart, Liability Bar Chart (maybe - I don't have enough liability accounts to be sure), Expense Bar Chart, Income Bar Chart.
Created attachment 16870 [details] Example of expenses bar chart showing bar color order reversed from legend color order.
This was already mentioned in bug#102268 , as it's the problem with *some* versions of the Guppi library. What Guppi version do you have? I think there should be some version-querying #ifdefs in src/gnome-utils/gnc-html-guppi.c but OTOH Guppi isn't maintained any longer anyway, so we probably have to live with that.
Hmm, indeed, I can see this in my "Expense Barchart" report.
So, I'll take ownership.
I have: libguppi.so.16.0.0 libguppitank.so.16.0.0 guppi/plug-ins/0.40.3
yea, I've got 0.40.3 as well.
Yea, this is a guppi bug, and there isn't anything it appears that we can do to fix this. I just looked at the guppi code, and it is obviously wrong... And there appears to be now way to fix it externally. So, I'm closing this bug as a duplicate of #102268. *** This bug has been marked as a duplicate of 102268 ***
I just mentioned this in the other bug -- this has been fixed in Guppi CVS long ago, but there has never been any Guppi public release since then. You can get Guppi 0.40.4 which is Guppi CVS (and a small fix in GnuCash which I just committed), and then it works again. Checkout from Gnome's CVS is described on http://developer.gnome.org/tools/cvs.html , and the module you need to get is named "guppi3".
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=113777. Please update any external references or bookmarks.