Issue 122931

Summary: The "major interval" of the Y axis in a XY graph is changed in an unwanted way.
Product: Calc Reporter: Walter <wfpiant>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: elish, issues, vitriol_vitriol
Version: 3.4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: 4.0.0
Developer Difficulty: ---
Description Flags
Bug test doc none

Description Walter 2013-08-01 16:45:15 UTC
Premise. I have the Italian version of AOO 4. I translated the italian label "parte principale" in "major interval", but I do not know if it is the correct translation of the label. The "parte principale" is the grid interval of the Y-axis.

1. Fire up AOO Calc.
2. Type in a few pairs of decimal numbers.
3. Insert a XY chart showing those numbers.
4. Select the XY chart.
5. In the XY chart we define the "major interval" of Y-axis with a decimal number (2.5 for example).
6. Press "OK" to confirm the choise.
7. Change another propriety of the Y-axis (the color of the line, for example).
8. Press "OK" to confirm the choise.

The XY chart is not correct. The "major interval" of Y-axis is changed in a way not wanted.

Expected result:
Should not change the main part though I have not specifically requested.

When you re-open the properties of the Y axis, I noticed that the "major interval" seems to be truncated to the integer part of the number entered, if it was previously set to a decimal value greater than 1, instead is set to 1 (one) if the value of the "major interval" is set to a value less than 1.
Comment 1 vitriol 2013-08-01 16:55:31 UTC
"Major interval" is a correct name in English version. I confirm this behavior as a regression.
Comment 2 Edwin Sharp 2013-08-01 17:58:12 UTC
Can not confirm in Rev. 1503704 Win 7.

Y Axis - Scale - Major interval -> setting is preserved.

Please attach example.
Comment 3 vitriol 2013-08-01 18:04:38 UTC
Created attachment 81233 [details]
Bug test doc
Comment 4 vitriol 2013-08-01 18:10:46 UTC
See attached file. Y major interval is set to 0.5 and chart looks fine.
Open Y axis > Scale, major interval shows 1. Push OK button and Y scale interval on chart change to 1.
Comment 5 Edwin Sharp 2013-08-01 18:23:42 UTC

Happens only in attachment 81233 [details].

All other testing with my own fresh charts were OK.
Comment 6 vitriol 2013-08-01 18:27:26 UTC
On my system it always happens...
Comment 7 Edwin Sharp 2013-08-01 19:03:50 UTC
One of a dozen checks:
Comment 8 vitriol 2013-08-01 19:16:03 UTC
(In reply to Edwin Sharp from comment #7)
> One of a dozen checks:

You must enter a decimal value. With integer value it's OK.
Comment 9 Edwin Sharp 2013-08-01 19:21:48 UTC
Bug visible with non integer.
Comment 10 Oliver-Rainer Wittmann 2013-08-12 08:37:05 UTC
reproduce the described defect in AOO 3.4.0, AOO 3.4.1 and AOO 4.0.0, but not in OOo 3.3.0 -> adjusting field version accordingly.