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:
Created attachment 153610 [details] Graph test
Created attachment 153611 [details] Comparison Screenshot
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.
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
*** This bug has been marked as a duplicate of bug 124083 ***