Description: Items in the bar chart legend follow the display order of the drawn data rows in case of left and right orientation, but they don’t in case of top or bottom. Steps to Reproduce: 1. Open attachment with 4 bar charts 2. They have the same data, but different orientations for the legend 3. To set a different orientation, right click on it and choose Format Legend, go to Position tab and select a Position. Actual Results: The legends aligned left or right have the order of 1 – 2 while the top and bottom aligned ones have the order of 2 – 1. Expected Results: All legends should display items in the drawing order regardless of their alignment. Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 151480 [details] Example file from Calc
Created attachment 151481 [details] A screenshot showcasing the issue.
Confirmed with: Version: 6.3.0.0.alpha1+ (x64) Build ID: dc17f247daeb281dda531ff335873d563db5b653 CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win;
Balazs Varga committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/729c8d135b6b958e6d2cd87ee72166ecdb0afbfc%5E%21 tdf#125335 fix order of bar chart legend names in top-bottom positions It will be available in 6.3.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.