Scale and tick auto-sizes depend on scale limits weirdly
Submitted by Vladimir Chukharev
Created attachment 146417 A simple graph exhibiting the misbehavior
This is a minor POLA violation. Tested with 1.9.12 under WinXP and 1.9.14 in FreeBSD.
A graph with a XY plot has different size of the plot area and of the scale ticks if the scale bounds are switched from automatic to non-automatic mode, if the tick size is automatic (and plot size is also automatic).
The attached file contains an example of such a plot with two points, (-0.06, -0.06), (0.22, 0.22). All scale parameters are automatic. The actual bounds of the scales are -0.1 and 0.25, the ticks are 0.05 (both X and Y scales, on X scale only every second tick has a label).
If you deselect 'automatic' from e.g. Minimum bound of X-Axis1, the actual Maximum bound is changed to 0.3 and Major ticks to 0.1. The greyed-out values of these parameters are not refreshed, but the preview graph shows the changes. When Apply is clicked, all the values are really applied.
If you deselect 'automatic' from Maximum bound of X-Axis1, the scale bounds are not changed, but the Major ticks value is changed to 0.1, and the ralative size of the plot in Chart1 is increased.
Similar changes happen with Y-Axis1.
Attachment 146417, "A simple graph exhibiting the misbehavior":