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 113777 - Colors upside down in stacked bar charts
Colors upside down in stacked bar charts
Status: VERIFIED DUPLICATE of bug 102268
Product: GnuCash
Classification: Other
Component: Reports
1.8.x
Other Linux
: Normal enhancement
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2003-05-26 22:31 UTC by Craig Lawson
Modified: 2018-06-29 20:32 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Example of expenses bar chart showing bar color order reversed from legend color order. (19.82 KB, image/gif)
2003-05-27 06:11 UTC, Craig Lawson
Details

Description Craig Lawson 2003-05-26 22:31:25 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.
Comment 1 Derek Atkins 2003-05-27 02:27:28 UTC
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.
Comment 2 Craig Lawson 2003-05-27 06:09:19 UTC
Assert Bar Chart, Liability Bar Chart (maybe - I don't have enough
liability accounts to be sure), Expense Bar Chart, Income Bar Chart.
Comment 3 Craig Lawson 2003-05-27 06:11:06 UTC
Created attachment 16870 [details]
Example of expenses bar chart showing bar color order reversed from legend color order.
Comment 4 Christian Stimming 2003-05-27 11:56:03 UTC
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.
Comment 5 Derek Atkins 2003-05-27 17:28:17 UTC
Hmm, indeed, I can see this in my "Expense Barchart" report.
Comment 6 Derek Atkins 2003-05-27 17:28:47 UTC
So, I'll take ownership.
Comment 7 Craig Lawson 2003-05-27 18:09:42 UTC
I have:
  libguppi.so.16.0.0
  libguppitank.so.16.0.0
  guppi/plug-ins/0.40.3
Comment 8 Derek Atkins 2003-05-27 18:14:42 UTC
yea, I've got 0.40.3 as well.
Comment 9 Derek Atkins 2003-05-27 18:38:27 UTC
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 ***
Comment 10 Christian Stimming 2003-05-29 22:45:37 UTC
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".
Comment 11 John Ralls 2018-06-29 20:32:33 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=113777. Please update any external references or bookmarks.