plot: drawing order: cannot draw lines over points
Submitted by John Denker
Link to original bug (#739938)
Description
Desired behavior: There are good reasons to draw one series with lines and symbols, and then draw another series with lines and symbols, with the plot order such that all of the second series is seen in front of the other series.
In pseudocode: foreach series in [...list...] foreach drawable in [line, symbol] draw(series, drawable) end end
Observed behavior: All of the symbols are drawn in front of all of the lines, no matter what. The drawing order of symbols /relative to other symbols/ can be controlled in the obvious way, as can the drawing order of lines /relative to other lines/ ... but there seems to be no way to draw a line on top of a symbol.
In pseudocode: The loops are nested the wrong way: foreach drawable in [line, symbol] // wrong foreach series in [...list...] // wrong draw(series, drawable) end end
The following image shows the situation at a glance. It pretty much speaks for itself. You can see that the red arrowheads go on top of the blue lines, but underneath the blue symbols. This is Not Good.
https://www.av8n.com/computer/img48/plot-order-snafu.png
A spreadsheet to demonstrate all this can be found at https://www.av8n.com/computer/arrowheads.gnumeric
Right now I'd be happy to hear of a workaround. I haven't yet been able to think of a non-ridiculous workaround.
I searched previous reports without finding anything similar: https://bugzilla.gnome.org/buglist.cgi?quicksearch=plot+order Zarro Boogs found.
gnumeric -v gnumeric version '1.12.1' datadir := '/usr/share/gnumeric/1.12.1' libdir := '/usr/lib/gnumeric/1.12.1'
uname -a Linux asclepias 3.16.2+ #1 SMP Sun Sep 7 08:41:33 MST 2014 x86_64 x86_64 x86_64 GNU/Linux
Let me know if additional detail is needed.
Version: git master