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 125045 - axis ticks not properly spaced
axis ticks not properly spaced
Status: RESOLVED NOTABUG
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2003-10-20 16:03 UTC by Jean Bréfort
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the sample file described (2.10 KB, application/x-gnumeric)
2003-10-20 16:04 UTC, Jean Bréfort
Details

Description Jean Bréfort 2003-10-20 16:03:00 UTC
When using manual min and max for an axis, ticks are sometimes not
correctly placed. The gog_axis_view_render function assumes that the firs
tick is at the beginning of the axis and the last at the end, but this is
not always the case. The following example, will make things clear, I hope:
Type 0 in A1 and B1, 10 in A2 and B2
Select the four cells and insert a xy chart, then change the min and max
values of one of the axis to, respectively, -0.2 and 10.2.
The axis labels are -0.2, 1.8,... 9.8.
On the graph 10 is smaller than 9.8!
I think that the labels should remain round values (0,2,...10) and the
ticks moved appropriately.
Comment 1 Jean Bréfort 2003-10-20 16:04:59 UTC
Created attachment 20822 [details]
the sample file described
Comment 2 Jody Goldberg 2003-11-07 17:14:19 UTC
I'm really not seeing this as a bug.  We could conceivably make it an option
but I have no idea how to name it.  I'll close the bug and keep the patch on
file.