Created attachment 162810 [details]
Example file from Excel
Attached XLSX file contains a column, line and bar chart with one very long labeled data point, such that it breaks to multiple lines.
In Excel such long labels are aligned by default as centered, but in Calc they are aligned left. Center alignment looks subjectively better.
Steps to reproduce:
1. Open attached file
Long axis labels are aligned left, which is uglier than centered alignment.
Long axis labels should be aligned centered.
Version: 126.96.36.199.alpha0+ (x64)
Build ID: 9af38b4504ccda57a0c32eb8bdd03e5a8ca29ddc
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Created attachment 162811 [details]
Screenshot of the original document side by side in Excel and Calc
Thank you for reporting the bug. I can confirm the bug present in
Version: 188.8.131.52.alpha1+ (x86)
Build ID: ec7374ff84c71edfbb30d6e4dc5b486b6df7107f
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win;
TinderBox: Win-x86@42, Branch:master, Time: 2019-11-10_21:37:30
Locale: en-US (en_US); UI-Language: en-US
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":
tdf#134659 chart2: use centered label alignment at text break
It will be available in 7.1.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
*** Bug 134639 has been marked as a duplicate of this bug. ***
Created attachment 163398 [details]
Test document to commit b877b9bc894892e61f0d6311729f7b01139923d6 (chart2: clean-up redundant ShapeFactory::createText())