Bug 150172 - XLSX import: Chart data is missing when viewing Excel document in Calc
Summary: XLSX import: Chart data is missing when viewing Excel document in Calc
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xlsx
Depends on:
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2022-07-27 17:50 UTC by viewer
Modified: 2024-07-28 03:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Source Excel document to open in Calc (18.69 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2022-07-27 17:52 UTC, viewer
Details
Screenshot showing comparison of top 3 charts on Sheet 1 (132.64 KB, image/jpeg)
2022-07-27 17:53 UTC, viewer
Details
Screenshot showing comparison of bottom 3 charts on Sheet 1 (121.78 KB, image/jpeg)
2022-07-27 17:54 UTC, viewer
Details
Data series in Excel (49.77 KB, image/png)
2022-07-27 18:37 UTC, Rafael Lima
Details
Data series in LO Calc (93.47 KB, image/png)
2022-07-27 18:39 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description viewer 2022-07-27 17:50:56 UTC
Description:
When the Excel 2010 document provided with this issue is opened in LibreOffice Calc 7.3.4.2, the data for the charts is missing.

Please see attached screenshots comparing the view in Excel and Calc

This issue is similar to #83307, but has more chart types and has xlsx (not xls)

Our final use case is Export to PDF on Linux, but since the view is incorrect on Windows, the exported PDF is also missing the data (on Windows and Linux).

Steps to Reproduce:
1. View the "Chart Insert excel 2010.xlsx" attached to this issue
2. Compare the view of Sheet 1 in Excel and Calc


Actual Results:
Chart data are missing for all charts on Sheet 1

Expected Results:
View of Sheet 1 in Calc should match Excel


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.4.2 (x64) / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 viewer 2022-07-27 17:52:09 UTC
Created attachment 181450 [details]
Source Excel document to open in Calc
Comment 2 viewer 2022-07-27 17:53:56 UTC
Created attachment 181451 [details]
Screenshot showing comparison of top 3 charts on Sheet 1
Comment 3 viewer 2022-07-27 17:54:30 UTC
Created attachment 181452 [details]
Screenshot showing comparison of bottom 3 charts on Sheet 1
Comment 4 Rafael Lima 2022-07-27 18:37:55 UTC
Created attachment 181455 [details]
Data series in Excel

The Excel chart has a fixed value using "={1}" as its series values. See attached screenshot for more info.

In LibreOffice this fixed value is not imported. Apparently LO cannot handle "={1}" in the "Range for Y-values".

This is clearly an import issue.

Tested with:

Version: 7.3.4.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.4-0ubuntu0.22.04.1
Calc: threaded

Also repro in 7.5+
Comment 5 Rafael Lima 2022-07-27 18:39:09 UTC
Created attachment 181456 [details]
Data series in LO Calc

Notice that "Range for Y-values" is empty. Entering "={1}" here does not work.
Comment 6 QA Administrators 2024-07-28 03:15:13 UTC
Dear viewer,

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://web.libera.chat/?settings=#libreoffice-qa

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

Warm Regards,
QA Team

MassPing-UntouchedBug