Bug 142868 - EDITING Not all chart data series should be allowed to be aligned to secondary Y axis
Summary: EDITING Not all chart data series should be allowed to be aligned to secondar...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
7.2.0.0 alpha1+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2021-06-15 08:22 UTC by NISZ LibreOffice Team
Modified: 2022-01-14 03:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Excel (18.38 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2021-06-15 08:22 UTC, NISZ LibreOffice Team
Details
Screenshot of the first chart side by side in Excel and Calc with data series alignment options (99.56 KB, image/png)
2021-06-15 08:22 UTC, NISZ LibreOffice Team
Details
The second chart in Excel before changing all data series alignment to secondary Y axis (48.45 KB, image/png)
2021-06-15 08:23 UTC, NISZ LibreOffice Team
Details
The second chart in Excel after changing all data series alignment to secondary Y axis (49.13 KB, image/png)
2021-06-15 08:23 UTC, NISZ LibreOffice Team
Details
The second chart in Calc after changing all data series alignment to secondary Y axis (47.97 KB, image/png)
2021-06-15 08:24 UTC, NISZ LibreOffice Team
Details
complete weather data (31.32 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-06-15 11:45 UTC, László Németh
Details
incomplete weather data (30.57 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-06-15 11:45 UTC, László Németh
Details
incomplete data with removed empty data series (30.35 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-06-15 11:57 UTC, László Németh
Details
removed empty data series resulted double scale (47.23 KB, image/png)
2021-06-15 11:58 UTC, László Németh
Details
Duplicates removed by "Delete Axis" (44.85 KB, image/png)
2021-06-15 12:03 UTC, László Németh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2021-06-15 08:22:21 UTC
Created attachment 172895 [details]
Example file from Excel

Current Chart UI allows the user to align all chart data series to the secondary Y axis. This does not make much sense logically – even if ODF allows it – since it results in the same visual appearance as aligning the data to the primary Y axis and disabling the primary and enabling the secondary Y axis.
Changing this behavior would match what the MSO UI allows, and it would allow better interoperability.

Another aspect would be to not allow all data series to be aligned to the secondary Y axis.
This also results the same visual appearance as aligning all data series to the primary Y axis while disabling the primary and enabling the secondary Y axis.
MSO in this case changes the alignment of all data series to the primary Y axis instantly.
LO changes this alignment on OOXML export, which can cause interoperability problems.

Preventing users from aligning all data series to the secondary Y axis would create a more logical, less confusing streamlined UX, similar to what MSO has.

Steps to reproduce:
 1.	Open attached file
 a)	Open the left chart for editing
 b)	Highlight the data series line, right click, select Format Data Series
 c)	Under Options – “Align Data Series to” you can select between Primary and Secondary Y axis
 2.	Open the right side chart for editing
 a)	Highlight each data series line,  right click, select Format Data Series
 b)	Under Options – “Align Data Series to” select the “Secondary Y axis” option for all three data series

Actual results:
1 c) – The two options are selectable
2 b) – Upon reopening the Data series dialog the Secondary Y axis option is selected.

Expected results:
1 c) – The two options should be greyed out
2 b) – Upon reopening the Data Series dialog the Primary Y axis option should be automatically restored after setting all three series to Secondary Y axis.

LibreOffice details:
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 93a3e2f86c27b06062708fe788963a0e49f3a90b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2021-06-15 08:22:53 UTC
Created attachment 172896 [details]
Screenshot of the first chart side by side in Excel and Calc with data series alignment options
Comment 2 NISZ LibreOffice Team 2021-06-15 08:23:15 UTC
Created attachment 172897 [details]
The second chart in Excel before changing all data series alignment to secondary Y axis
Comment 3 NISZ LibreOffice Team 2021-06-15 08:23:40 UTC
Created attachment 172898 [details]
The second chart in Excel after changing all data series alignment to secondary Y axis

The secondary axis became visible, but alignment was reset to primary.
Comment 4 NISZ LibreOffice Team 2021-06-15 08:24:02 UTC
Created attachment 172899 [details]
The second chart in Calc after changing all data series alignment to secondary Y axis

The secondary axis became visible and the alignment stays to secondary Y axis. This makes no sense; you would need to have some data series set for the primary and some set for the secondary.
Comment 5 László Németh 2021-06-15 11:43:48 UTC
> This does not make much sense logically

Primary and Secondary axes are for showing different scale data on the same chart, e.g. temperature and precipitation of the same area. In my opinion, if we have multiple charts, but some of them incomplete (typical in scientific data collected by different researches), e.g. there are only temperate data on chart 10 and precipitation data on chart 11, we don't want to change the appearance of these charts, losing better comparability of the full data set. In this case, "Primary" and "Secondary" are only labels without any preference, i.e. "Primary" is not the preferred scale. So I think, there is no reason to limit the users to use "Secondary" only with "Primary". I've attached some examples.
Comment 6 László Németh 2021-06-15 11:45:02 UTC
Created attachment 172906 [details]
complete weather data
Comment 7 László Németh 2021-06-15 11:45:28 UTC
Created attachment 172907 [details]
incomplete weather data
Comment 8 László Németh 2021-06-15 11:57:59 UTC
Created attachment 172908 [details]
incomplete data with removed empty data series
Comment 9 László Németh 2021-06-15 11:58:35 UTC
Created attachment 172909 [details]
removed empty data series resulted double scale
Comment 10 László Németh 2021-06-15 12:03:11 UTC
Removing the empty data series resulted a duplicate of the axis used by the not empty data series. This seems to be a bug for me, but it's very easy to fix it by deleting the unnecessary axis. See the attached test files and screenshots.
Comment 11 László Németh 2021-06-15 12:03:57 UTC
Created attachment 172911 [details]
Duplicates removed by "Delete Axis"
Comment 12 QA Administrators 2021-12-14 04:26:10 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2022-01-14 03:42:08 UTC
Dear NISZ LibreOffice Team,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp