GNOME Bugzilla – Bug 540719
barchart legend order is reversed
Last modified: 2008-11-11 13:03:37 UTC
In barcharts, the order of items in the legend (key) is reversed from the order in which they are displayed in the stacked bar chart -- the top item in the legend is the bottom item in the bar. It would be much easier to read if they were displayed in the same order. Steps to reproduce: 1. Reports -> Assets & Liabilities -> Asset Barchart (or any other barchart, such as Income or Expense barcharts) Actual results: The bottom item in the stacked bar chart appears as the top item in the legend. Expected results: The bottom item in the stacked bar chart should be the bottom item in the legend. Does this happen every time? Yes.
Created attachment 113592 [details] sample barchart with reversed legend
We simply use libgoffice to create our graphs, as can be seen at http://svn.gnucash.org/trac/browser/gnucash/branches/2.2/src/gnome-utils/gnc-html-graph-gog.c#L398 . Almighty goffice drivers, is this possible somehow?
The solution might be to add a switch in the legend code and change its value for stacked bar/col plots. Seems that OOo does something like that, I could not test with XL.
Simple fix. Patched for 1.7.1
*** Bug 432920 has been marked as a duplicate of this bug. ***