Bug 127128 - MS Word graph is changing direction
Summary: MS Word graph is changing direction
Status: RESOLVED DUPLICATE of bug 124083
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.3.0.3 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2019-08-23 19:49 UTC by Devon Powell
Modified: 2019-09-01 08:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Graph test (16.03 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-08-23 19:49 UTC, Devon Powell
Details
Comparison Screenshot (71.12 KB, image/jpeg)
2019-08-23 19:50 UTC, Devon Powell
Details
Screenshot of the example file in 6.0.7 and current master (185.54 KB, image/png)
2019-09-01 08:40 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Devon Powell 2019-08-23 19:49:03 UTC
Description:
Graph changing direction in docx document.

Steps to Reproduce:
1.Open attached 'Graph Test.docx' in MS Word
2.Open attached 'Graph Test.docx' in LibereOffice Writer
3.Observe Graph is changing direction in Livreoffice Writer

Actual Results:
Graph changing direction

Expected Results:
Graph should not change direction


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Devon Powell 2019-08-23 19:49:49 UTC
Created attachment 153610 [details]
Graph test
Comment 2 Devon Powell 2019-08-23 19:50:30 UTC
Created attachment 153611 [details]
Comparison Screenshot
Comment 3 Regina Henschel 2019-08-24 16:21:45 UTC
I see the problem with the attached file, but I cannot reproduce it with a new file. Even if I link the data source, as it is the case in your example, LibreOffice generates the chart correctly from the cached values.

The problem seems to be, that the cached data in the file are inconsistent. The number of points in c:xVal does not correspond to the actual available values and the number of values in c:yVal is different from those in c:xVal.

Can you please open the file in Word and actualize the data table. Hopefully that will repair the inconsistent cached values.

If I make the values consistent manually, the chart in your document is shown as expected.
Comment 4 Gabor Kelemen (allotropia) 2019-09-01 08:40:30 UTC
Created attachment 153789 [details]
Screenshot of the example file in 6.0.7 and current master

This was caused by a missing X value, now looks good in current master after commit 

https://cgit.freedesktop.org/libreoffice/core/commit/?id=4afd65776457be3391f3e1340da614dffc8f227b
Comment 5 Gabor Kelemen (allotropia) 2019-09-01 08:42:12 UTC

*** This bug has been marked as a duplicate of bug 124083 ***