GNOME Bugzilla – Bug 666292
incorrect legend of a XYZcontour plot
Last modified: 2011-12-17 17:04:28 UTC
Created attachment 203585 [details] .gnumeric file to reproduce the problem Steps to reproduce the problem: - open attached .gnumeric file - look at foreground graph => There are far more entry in the legend than what is visible on the plot.
I don't see a bug here. The legend shows the whole colour range as it should. I assume you are expecting to have only those pieces shown that in fact contain data? That would be very misleading. Of course this all comes down to that the data in fact ranges from 0.6749 to 0.7009 so the automatic max and min values take that range of data in account, which results in a range from 0.670 to 0.7005 with 7 intervals of length 0.005. You manually changed the interval length to 0.002 and modified the x and y axis ranges so that some data is not shown in the graph. The problem is that we really do not know your intentions. If you don't want to show those data ranges corresponding to data that does not show on the graph you just need to adjust the min/max of the colour range accordingly. I would say ->NOTABUG.
hmm, when I change the minimum of the colour range to 0.69 I do see something that should be a bug: the first colour range ends up to be [0.69,0.69[. That should not happen!
Actually, I agree with your first comment. Sorry, I submitted the bug too quickly. Adjusting the third axis range shorten the legend.
And if you change the minimum to 0.69 and the maximum to 0.698 we still have that [0.69,0.69[ but the last range is only [0.694,0.696[. So the number of ranges is correct but there is an extra first one and a missing last one.
There definitely need to be something fixed here!
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.