I created a simple stacked bar chart in Calc. The export to .XLSX is distorted and not usable. See attached screenshots of Calc and Excel. If I export to .xls, Excel 2010 imports it correctly, but gives an error message afterwards. If I simply open the .ods in Excel, it is imported absolutely correctly. Hence, there must be an issue in the .xlsx filter. All three files are attached.
Created attachment 119008 [details] Calc's original file in .ods format. No problem here.
Created attachment 119009 [details] Exported file to .xlsx is distorted. Opened in Excel 2010
Created attachment 119010 [details] Export to .xls is correct, but gives an error message afterwards
Created attachment 119011 [details] Screenshot-Calc_Stacked-bar-chart_Everything-okay-here.png
Created attachment 119012 [details] Screenshot-Excel_Stacked-bar-chart_xlsx-Distorted.png
I can confirm with LO 5.0.1.2, win7 and Version 4.0.0.3 (Build ID: 7545bee9c2a0782548772a21bc84a9dcc583b89)
Workaround: If you know how to unzip, edit and re-zip OOXML files, open xl/charts/chart1.xml file in OOXML zip archive and find the following tag: <c:overlap val="0"/> Replace 0 with 100, save and re-zip. If you don't, go to Format data series > Options tab > Settings and change overlap value from 0% to 100% and save. Due to bug 96959, it will have no effect on rendering the chart in LO, but it'll workaround xlsx export issue so that the chart is rendered correctly (albeit not perfect) in Excel
** Please read this message in its entirety before responding ** 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 on a currently supported version of LibreOffice (5.2.5 or 5.3.0 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System 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) http://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: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170306
Problem still exists in Version: 5.1.6.2
** Please read this message in its entirety before responding ** 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 http://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 MassPing-UntouchedBug
Created attachment 142038 [details] Distorted-chart-in-Excel-2016.png Bug still exists in LibreOffice Version: 6.0.4.2. Attachment shows the distorted chart when I open it in Excel 2016 System: Version: 6.0.4.2 Build-ID: 1:6.0.4~rc2-0ubuntu0.16.04.1 CPU-Threads: 4; BS: Linux 4.4; UI-Render: Standard; VCL: gtk2; Gebietsschema: en-GB (de_DE.UTF-8); Calc: group
@Balazs, maybe one for you? We seem to know what needs to be set here, see comment #7
Balazs Varga committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=17c2b0af97f73b9103be982b15d7111b3980e027 tdf#94502 Fix overlap export of Stacked Bar Chart to *.xlsx It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Balazs Varga committed a patch related to this issue. It has been pushed to "libreoffice-6-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=8a7062c02c54330c3b6be0471dbc8a74e60aa479&h=libreoffice-6-1 tdf#94502 Fix overlap export of Stacked Bar Chart to *.xlsx It will be available in 6.1.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.