| Summary: | Charts - Data labels are not preserved after round trip | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Umesh Kadam <umesh.kadam> |
| Component: | Chart | Assignee: | Markus Mohrhard <markus.mohrhard> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dushyant.bhalgami, jorendc, markus.mohrhard |
| Priority: | medium | ||
| Version: | 4.3.0.0.alpha0+ Master | ||
| Hardware: | IA64 (Itanium) | ||
| OS: | Linux (All) | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=90729 | ||
| Whiteboard: | target:5.0.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
File contains chart with data labels.
xlsx has the column chart with data lables. RT file preserving the data lables. Data labels still missing from exported Line Charts |
||
Reproduced, tested using Windows 8.1 with LibreOffice Version: 4.3.0.0.alpha0+ Build ID: 742d3987319944308a42fcdc19592bc441b761c2 TinderBox: Win-x86@39, Branch:master, Time: 2014-02-09_09:03:01 RT-file opened using MS Word 2010. Kind regards, Joren Created attachment 97813 [details]
xlsx has the column chart with data lables.
test document.
Created attachment 97814 [details]
RT file preserving the data lables.
test document.
*** Bug 80996 has been marked as a duplicate of this bug. *** Markus, Both Excel and Calc open the round-tripped XLSX files without the data labels. Looking at the exported OOXML in xl\charts\chart1.xml we need to set: <c:dLbls><c:spPr><c:showVal val="1"/> For each data point in the chart. The XLS exporter doesn't appear to have any issue with Data Labels. That is actually again a MSO 2007 vs OOXML issue. I have a fix for it based on my framework. Markus Mohrhard committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6f969d256fdbbc0b93d7baeec089afbbea94fc0e use correct default value for OOXML and MSO 2007, tdf#74886 It will be available in 5.0.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. Markus Mohrhard committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=316f1505f1e0b1820c51913a11ae00b86a43cc13 add test case for data label default value import, related tdf#74886 It will be available in 5.0.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. Created attachment 114926 [details]
Data labels still missing from exported Line Charts
Markus thanks to your recent work, the Bar and Pie charts are importing/exporting beautifully. Your effort is much appreciated.
The only issue I noticed is that the data labels are still being lost on round-tripping Line charts. Do you want to reopen this issue or should I file a new report?
(In reply to Luke from comment #9) > Created attachment 114926 [details] > Data labels still missing from exported Line Charts > > Markus thanks to your recent work, the Bar and Pie charts are > importing/exporting beautifully. Your effort is much appreciated. > > The only issue I noticed is that the data labels are still being lost on > round-tripping Line charts. Do you want to reopen this issue or should I > file a new report? Please always a new bug with a test document. And just put me in CC: |
Created attachment 93930 [details] File contains chart with data labels. The Data labels for the chart are not getting preserved after roundtrip.