Bug 56609 - Chart with merged labels row needs non-numeric second line
Summary: Chart with merged labels row needs non-numeric second line
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Chart-Labels
  Show dependency treegraph
Reported: 2012-10-31 10:56 UTC by mahfiaz
Modified: 2021-03-30 03:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Example spreadsheet which shows the "correct" case. (14.79 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-10-31 10:56 UTC, mahfiaz
Example spreadsheet showing the incorrect behavior (14.30 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-04-19 11:06 UTC, mahfiaz

Note You need to log in before you can comment on or make changes to this bug.
Description mahfiaz 2012-10-31 10:56:56 UTC
Created attachment 69348 [details]
Example spreadsheet which shows the "correct" case.

1. Try to create a chart with two label lines, one having merged cells, the other not (please see the attached file).
2. If the second not-merged line contains numbers it is counted as usual data line although the first line has merged cells.

To expose the problem:
1. Change the second row to regular numbers (as opposed to strings which they are now, that would be without preceding apostrophe ')
2. Try to create a new chart from the same dataset.
or (that one which annoys me)
3. Copy the cart to Writer, the chart gets recreated there and the second line is not used at all, merged line is used as regular one.

The only two workaround are to use strictly text values (either with preceding apostrophe ' or marking these cells as text cells) or to copy it to Writer as GDI object (which has drawbacks).

Sorry for the poor summary and description, the matter is somewhat complex to describe. If there is anything that needs clarification, please let me know.

Please see the attached file as well.

Other than that LibreOffice is quite awesome :)
Comment 1 A (Andy) 2012-12-24 18:06:15 UTC
reproducible with LO (Win7 Home, 64bit) in this way that if the second line is a number the chart is shown correctly in CALC, but if copied to WRITER the second line gets lost
Comment 2 QA Administrators 2015-04-19 03:20:54 UTC Comment hidden (obsolete)
Comment 3 mahfiaz 2015-04-19 07:03:28 UTC
It's still the case in 4.4.3.

Here is how MSO Excel deals with this: see the example document, if the first row contains merged cells and A2 is empty, the second row must be the header as well.
Comment 4 mahfiaz 2015-04-19 11:06:51 UTC
Created attachment 114906 [details]
Example spreadsheet showing the incorrect behavior
Comment 5 Yousuf Philips (jay) (retired) 2015-04-19 17:15:38 UTC
So from what i can see is that when row 2 has numbers in it rather than text, it doesnt detect it correctly in the creation of the chart.
Comment 6 mahfiaz 2016-04-16 08:04:35 UTC Comment hidden (no-value)
Comment 7 QA Administrators 2017-05-22 13:23:22 UTC Comment hidden (no-value, obsolete)
Comment 8 mahfiaz 2019-03-30 17:36:07 UTC
Still an issue in
Comment 9 QA Administrators 2021-03-30 03:39:52 UTC
Dear mahfiaz,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team