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 349457 - Smoothing generated by Excel graphs doesnt appear
Smoothing generated by Excel graphs doesnt appear
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
1.7.x
Other All
: Normal enhancement
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-07-31 17:06 UTC by Julian
Modified: 2006-09-29 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample Excel 2000 File with XY points connected by smoothed lines (223.00 KB, application/vnd.ms-excel)
2006-08-11 12:46 UTC, Julian
  Details
Screenshot showing the smothed appearance of the XLS graph (15.91 KB, image/png)
2006-08-11 12:47 UTC, Julian
  Details
goffice patch (16.16 KB, patch)
2006-08-25 13:00 UTC, Jean Bréfort
none Details | Review
the associated gnumeric patch (4.60 KB, patch)
2006-08-25 13:02 UTC, Jean Bréfort
none Details | Review
an other way to implement that in goffice (138.74 KB, patch)
2006-09-14 10:34 UTC, Jean Bréfort
none Details | Review
updated version of the patch (25.62 KB, patch)
2006-09-28 05:05 UTC, Jean Bréfort
committed Details | Review
the new associated gnumeric patch (3.09 KB, patch)
2006-09-28 05:05 UTC, Jean Bréfort
committed Details | Review

Description Julian 2006-07-31 17:06:39 UTC
I noticed on all my MS Excel 2000 graphs that when imported into Gnumeric 1.70 (and 1.63 too), that if I had applied smoothed lines to the data points that Gnumeric ignores this and shows the line curve as discrete points instead. This is the case with Excel's 'XY Scatter graph, with data point connected by smooth lines' graphs.

Is this a bug, or just something that is incomplete in Gnumeric as yet?

Either way its a real shame as Gnumeric is the only app that allows me to save graph files as svg or jpg really useful. Even OpenOffice and Excel won't allow you to save individual graphs files.

Please help

Julian
Comment 1 Vladimir Chukharev 2006-08-04 18:46:17 UTC
I'm not a developer but if I understand correctly, this is not yet ready.
See Bug 338626, Comment #4.
Comment 2 Jean Bréfort 2006-08-11 10:45:42 UTC
Julian, can you provide a sample file and a screenshot (in excel)? I have no excel around there. I guess it might be a style problem.
Comment 3 Julian 2006-08-11 12:43:41 UTC
Hi Jean

I have added what you requested, both created in Excel. Although the equations are not simple, the same problem occurs with very simple data.

Comment 4 Julian 2006-08-11 12:46:03 UTC
Created attachment 70709 [details]
Sample Excel 2000 File with XY points connected by smoothed lines
Comment 5 Julian 2006-08-11 12:47:58 UTC
Created attachment 70710 [details]
Screenshot showing the smothed appearance of the XLS graph

Please note. You can create graphs just like this in Gnumeric fine, but the problem is when reading in previously created Excel data, that the line type reverts to an unsmoothed set of lines
Comment 6 Jean Bréfort 2006-08-11 15:09:06 UTC
OK, I need to write some code to use our bezier spline interpolation in such cases. It might take some times since I need to find the documentation and/or wait for an access to a windows machine.
Comment 7 Jean Bréfort 2006-08-25 13:00:41 UTC
Created attachment 71594 [details] [review]
goffice patch

in excel, the smoothing property belongs to the style, so is attached to each series. The easiest way I found to fix is to add the interpolation properties to GogXYSeries and use the ones in the plot as default for new series.
Comment 8 Jean Bréfort 2006-08-25 13:02:25 UTC
Created attachment 71595 [details] [review]
the associated gnumeric patch

add export/import of the smoothed property. The style children are not in the same order than in files produced by excel, but it does not seem to be a problem either in excel or gnumeric.
Comment 9 Jean Bréfort 2006-09-14 10:34:31 UTC
Created attachment 72767 [details] [review]
an other way to implement that in goffice
Comment 10 Jean Bréfort 2006-09-28 05:05:12 UTC
Created attachment 73531 [details] [review]
updated version of the patch
Comment 11 Jean Bréfort 2006-09-28 05:05:46 UTC
Created attachment 73532 [details] [review]
the new associated gnumeric patch
Comment 12 Julian 2006-09-29 16:27:47 UTC
Thanks for the work that's been put into to fix this bug. I notice it says FIXED. Where can I find a Download of Gnumeric which contains this patch ?
Comment 13 Jean Bréfort 2006-09-29 16:34:10 UTC
You'll have to wait for 1.7.1 release (a matter of days) unless you are able to compile goffice and gnumeric from CVS.