Bug 134676 - Chart horizontal axis title box too long
Summary: Chart horizontal axis title box too long
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Tünde Tóth
URL:
Whiteboard: target:7.1.0
Keywords:
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2020-07-09 06:54 UTC by NISZ LibreOffice Team
Modified: 2020-07-20 19:25 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Excel (13.15 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2020-07-09 06:54 UTC, NISZ LibreOffice Team
Details
Screenshot of the example document side by side in Excel and Calc (84.54 KB, image/png)
2020-07-09 06:54 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-07-09 06:54:08 UTC
Created attachment 162829 [details]
Example file from Excel

Attached file contains a chart with a long horizontal axis title. In Excel the default length of the axis title box is a bit shorter than the axis length, but in Calc it’s about the length of the whole chart area, making it look subjectively ugly.


Steps to reproduce:
    1. Open attached file

Actual results:
Horizontal axis title is spanning the entire chart area.

Expected results:
Horizontal axis title should be a bit less wide than the axis itself and begin right of the vertical axis.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 5483d4e10aad27889b961b9cb94d7ba6c86aed0b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2020-07-09 06:54:24 UTC
Created attachment 162830 [details]
Screenshot of the example document side by side in Excel and Calc
Comment 2 Commit Notification 2020-07-13 09:30:46 UTC
Tünde Tóth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/02c4b116cc927688fde8401413b126df72fc9b43

tdf#134676 Chart OOXML import: fix X axis title width

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:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 BogdanB 2020-07-20 19:25:19 UTC
Verified. It's ok now

Version: 7.1.0.0.alpha0+
Build ID: abea0d6647c7f1f7e76c73c26cb80e6a67dc5111
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded