GNOME Bugzilla – Bug 341993
lines do not appear in a XY graph
Last modified: 2006-10-01 20:36:21 UTC
Steps to reproduce the problem: - download the .gnumeric file here: ftp://lgge.obs.ujf-grenoble.fr/pub/depot/parrenin/bugs/test/gnumeric - open it with gnumeric-1.6.3 => the graph shows several lines - open the same file with gnumeric-1.7.0 => the graph does not show the lines (2 series are missing)
ftp://lgge.obs.ujf-grenoble.fr/pub/depot/parrenin/bugs/test.gnumeric Confirmed. Do you have that really with 1.7.0 or HEAD, and if with 1.7.0, did you configure with --with-cairo?
It is a cario renderer problem. These lines appear only if width >= 11.8. WEIRD
changing the Y-axis scale (max at least about 3500) or limiting the data to the first 120 pairs or so makes things work...
Created attachment 70323 [details] A sample file showing this bug
Created attachment 70324 [details] [review] A unsatisfactory patch This patch makes lines appear, but since clamp bounds are to small, it produces incorrect display (see pink line). A correct patch would be to really clip lines before sending them to cairo. We already have a clipping code in /utils/go-line.c, but only for vpath. But what would be better is a fix in cairo itself...