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 654392 - allow an X or Y-axis to land only on a portion of the axis
allow an X or Y-axis to land only on a portion of the axis
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Jean Bréfort
Jody Goldberg
: 513137 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-07-11 13:06 UTC by Frédéric Parrenin
Modified: 2011-09-08 14:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example graph to explain what I would like to do in Gnumeric (24.11 KB, image/png)
2011-07-11 13:09 UTC, Frédéric Parrenin
Details
example graph with axes overlaping (136.85 KB, image/png)
2011-07-17 12:32 UTC, Frédéric Parrenin
Details
A sample of what can be done. (16.04 KB, image/svg+xml)
2011-08-06 16:30 UTC, Jean Bréfort
Details

Description Frédéric Parrenin 2011-07-11 13:06:13 UTC
Currently, an X or Y-axis lands on the whole axis.
When using multiple X or Y-axes, the plots are on the same graph area.

This is not useful because often one wants an X or Y-axis to land only on a portion of the axis, so that the plots are not super-imposed.
This feature is available in other graphing software (i.e. grapher, Igor Pro).

I will attach an example graph of what I would like to achieve.
Comment 1 Frédéric Parrenin 2011-07-11 13:09:42 UTC
Created attachment 191710 [details]
example graph to explain what I would like to do in Gnumeric
Comment 2 Jean Bréfort 2011-07-13 09:22:05 UTC
I think this is already possible, though not easy, to do that with several manually positioned charts inside the same graph.
Comment 3 Frédéric Parrenin 2011-07-13 10:43:47 UTC
I tried to do it with several charts and I found many issues, e.g.:
- There is no garanty that the widths of the plots are the same (depending for example of the Y-axis labels width)and I see no way to specify it
- if you want to change the X-axis scale, you have to do it n times
Comment 4 Frédéric Parrenin 2011-07-13 10:45:27 UTC
Frankly, in my research field, this feature is a must-have.
Thank you very much for your answer.
Comment 5 Frédéric Parrenin 2011-07-13 11:00:12 UTC
Sorry, now I see a way to specify the width of the plots so it is possible to make such graphs in gnumeric!
Still, I think the proposed feature would be helpful because it would allow to share the same X-axis, which is natural in this case.
Thank you again.
Comment 6 Frédéric Parrenin 2011-07-13 11:22:03 UTC
To be more precise, I think one would need to be able to specify independently the positions of the plots. 
Currently, there is only one drawing area per chart and all plots share this drawing area.
Comment 7 Frédéric Parrenin 2011-07-13 14:40:45 UTC
Another issue when using multiple charts is that the plots cannot share the same legend.
Comment 8 Jean Bréfort 2011-07-17 12:21:21 UTC
OK, but this need some API changes and will wait (at least) until we branch. I think we just need to allow for axes stacking.
Comment 9 Frédéric Parrenin 2011-07-17 12:32:53 UTC
Created attachment 192126 [details]
example graph with axes overlaping
Comment 10 Frédéric Parrenin 2011-07-17 12:33:42 UTC
I don't think we only need axes stacking.
Sometimes the axes overlap.
(see attached graph)
Comment 11 Jean Bréfort 2011-07-17 13:03:20 UTC
ah, mush more tricky in that case.
Comment 12 Frédéric Parrenin 2011-07-17 17:13:10 UTC
I am just curious: why is it so tricky?
Comment 13 Jean Bréfort 2011-07-17 17:14:53 UTC
because we don't have the start of an API for that.
Comment 14 Jean Bréfort 2011-08-06 16:30:42 UTC
Created attachment 193353 [details]
A sample of what can be done.

If this is what you want (and I think it is), you can be optimistic. Still some work to do anyway
Comment 15 Frédéric Parrenin 2011-08-07 12:09:34 UTC
It is indeed the kind of thing I would like to do (plus also overlapping of axes).
Comment 16 Jean Bréfort 2011-08-07 12:49:56 UTC
Overlapping is possible too, in the sample, the two axes use respectively 0-45% and 55-100% of the available space, but everything is possible (I just limited the span to be at least 1%).
Comment 17 Jean Bréfort 2011-08-07 15:09:32 UTC
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.
Comment 18 Jean Bréfort 2011-09-08 14:40:38 UTC
*** Bug 513137 has been marked as a duplicate of this bug. ***