GNOME Bugzilla – Bug 125045
axis ticks not properly spaced
Last modified: 2004-12-22 21:47:04 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.
Created attachment 20822 [details] the sample file described
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.