Bug 77078

Summary: "Reverse Axis" does not work for Secondary Axes
Product: LibreOffice Reporter: John Perez <perez.johnangelo>
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: medium    
Version: 4.2.2.1 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 90486    
Attachments: ODP slide where the bug is found.
ODP slide where the bug is found.

Description John Perez 2014-04-05 08:43:57 UTC
Created attachment 96936 [details]
ODP slide where the bug is found.

OVERVIEW
In formatting axes on a Chart element, the "Reverse Axis" function does not work for secondary axes, but works for primary axes. In the case of the attached presentation, I need the primary axis (Dilation) to be in normal order, that is 0 at the bottom and 10 at the top. On the other hand, I need the secondary axis (Station) to be in reverse order, that is +5 at the bottom and -5 at the top.

STEPS TO REPRODUCE
1) Open the attached file.
2) Make the Chart editable by double-clicking the object.
3) Right click on the secondary axis
4) "Format Axis" then "Scale" tab
5) Check "Reverse direction"
6) "OK"

ACTUAL RESULTS: The chart remains the same.

EXPECTED RESULTS: The chart's secondary axis should reverse.

BUILD INFORMATION: version 4.2.3.3 Build: 420m0 on Ubuntu 13.10
Comment 1 John Perez 2014-04-05 08:45:28 UTC
Created attachment 96937 [details]
ODP slide where the bug is found.
Comment 2 Dominique Boutry 2014-04-08 08:53:23 UTC
What I see (LibO 4.2.2.1 on Win7) :
- the "revert" axis button is inoperant for the secondary axis,
- but, when operated for the first axis, it applies to the whole graph (secondary axis included).

So the demand turns to be :
- as is, the button is misleading,
- the "revert axis" feature should be local at axis level, not global at graph level.

IHMO it's the same for "Logarithmic scale".
Comment 3 A (Andy) 2014-05-29 11:42:32 UTC
reproducible with LO 4.2.4.2 (Win 8.1) and I would agree with the comments
Comment 4 QA Administrators 2016-02-21 08:36:03 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2017-03-06 15:24:44 UTC Comment hidden (obsolete)
Comment 6 Leyan 2020-12-16 22:03:01 UTC
Seems to work fine on LibreOffice 7.0.3.1. I was able to select reverse axis on the first axis and/or the second axis and the result was as expected in all cases, only the relevant axis was affected.