Bug 146438 - X-Y (Scatter) chart type not being formed correctly by the Insert Chart wizard
Summary: X-Y (Scatter) chart type not being formed correctly by the Insert Chart wizard
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-27 18:00 UTC by Simon Reed
Modified: 2022-08-20 03:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
X-Y chart with data labels from the first column (17.98 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-01-19 17:43 UTC, Jean-Baptiste Faure
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Reed 2021-12-27 18:00:53 UTC
Description:
I am trying to create an X-Y chart and no matter what options I pick I cannot form one.  Also, if you choose a different chart type, then X-Y plot, you get different broken X-Y plots offered!

Steps to Reproduce:
1. Create a new spreadsheet and enter a simple table of labels and X and Y values like this:
NAME	AGE	SCORE
Deirde	10	50
Anne	12	60
Billy	11	58
Chris	9	52

2. Highlight the table and either select Insert Chart or click on the Insert Chart button on the toolbar (either does the same thing).

3.  Choose a Chart Type of X-Y(Scatter).  You will see the proposed chart is not an X-Y plot.

4.  Click on Next and change the default and incorrect 'Data series in columns' to 'Data series in rows'.  You will see the data items plotted against values of 1 or 2.

5.  Click on Next and see there are 4 series, not one.

6.  Try removing the extra series and make one, correct, X-Y series.  You will need to manually change the Name, add the X-values (which should have been filled in for you), correct the Y-values range and correct the Data labels range.



Actual Results:
If you DO manually change it from 'Data series in columns' to 'Data series in rows' you will get two plots of points, NOT an X-Y plot.

If you do NOT change manually change it from 'Data series in columns' to 'Data series in rows' you will get two plots of points, one lot of ages against '1' and one lot of scores against '2', NOT an X-Y plot of scores against ages.

Expected Results:
I expected to see an X-Y plot of scores against ages, ideally making it clear which point relates to which name.


Reproducible: Always


User Profile Reset: No



Additional Info:
Transpose the table of data so that it is in columns instead of rows.  The X-Y plot still does not work.

I can see the same behaviour in LibreOffice 6.0

For extra weirdness:

1. Create the table of values as above.

2. Highlight the table and select Insert Chart.  Choose a Chart Type of X-Y (Scatter).  You will see the proposed chart is not an X-Y plot.

3. Choose a Chart Type of Bubble, let it show the proposed chart, then select X-Y (Scatter) again.  You will see the proposed chart IS an X-Y plot, but with a data point in the legend!

5. Choose a Chart Type of Column, let it show the proposed chart, then select X-Y (Scatter) again.  It goes back to an incorrect pair of plots.

Also, one one occasion when I tried this, by selecting X-Y, then Bubble, then X-Y, then going through the Next options, the X-Y plot Data Series included a Bubble Sizes series!
Comment 1 Simon Reed 2021-12-27 18:13:57 UTC
Ignore the comment about selecting a Bubble Chart first causing extra problems.  That is already described in Bug 131451.
Comment 2 Simon Reed 2021-12-27 18:54:54 UTC
It appears a way round the problem is to have a separate series for every data point.  But it is still not possible to get each data point to have its own label because every Data Series shares the same Data Labels range, so they all get the same label despite being different series.
Comment 3 Jean-Baptiste Faure 2022-01-19 17:42:37 UTC
You should select only columns B and C to create a X-Y diagram. Then you can add data labels using column A: double-click on the diagram > menu Insert > Data Labels > Choose Category instead Value as number and add A2:A5 in the field Data labels for the SCORE series.

Does it work for you?

Status has been set to NEEDINFO, please set it back to UNCONFIRMED once requested information has been provided.


Best regards. JBF
Comment 4 Jean-Baptiste Faure 2022-01-19 17:43:30 UTC
Created attachment 177657 [details]
X-Y chart with data labels from the first column
Comment 5 QA Administrators 2022-07-20 03:29:24 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2022-08-20 03:44:28 UTC
Dear Simon Reed,

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