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 341993 - lines do not appear in a XY graph
lines do not appear in a XY graph
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
1.7.x
Other Linux
: Normal normal
: ---
Assigned To: Emmanuel Pacaud
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-05-16 15:54 UTC by Frederic Parrenin
Modified: 2006-10-01 20:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A sample file showing this bug (6.70 KB, application/x-gnumeric)
2006-08-06 16:56 UTC, Emmanuel Pacaud
  Details
A unsatisfactory patch (2.30 KB, patch)
2006-08-06 17:01 UTC, Emmanuel Pacaud
committed Details | Review

Description Frederic Parrenin 2006-05-16 15:54:22 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)
Comment 1 Jean Bréfort 2006-05-17 06:14:36 UTC
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?
Comment 2 Jean Bréfort 2006-05-17 07:28:24 UTC
It is a cario renderer problem. These lines appear only if width >= 11.8. WEIRD
Comment 3 Jean Bréfort 2006-05-17 07:50:38 UTC
changing the Y-axis scale (max at least about 3500) or limiting the data to the first 120 pairs or so makes things work...
Comment 4 Emmanuel Pacaud 2006-08-06 16:56:51 UTC
Created attachment 70323 [details]
A sample file showing this bug
Comment 5 Emmanuel Pacaud 2006-08-06 17:01:44 UTC
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...