Bug 151528

Summary: Chart data table is placed in the horizontal axis, negative values partially covered
Product: LibreOffice Reporter: Olivier Hallot <olivier.hallot>
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: quikee, rafael.palma.lima
Priority: medium    
Version: 7.5.0.0 alpha0+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 90486    
Attachments: test case with data table in the middle of the chart
Screenshot of the problem

Description Olivier Hallot 2022-10-14 13:53:18 UTC
Description:
The chart data table cannot be placed below the chart. The data table is fixed in the X-axis location, hiding negative values.

Steps to Reproduce:
1. Open the attached file (a simple cosine graph)
2. Add data table. Adjust appearance if necessary
3. Move (try!)data table to bottom of chart

Actual Results:
The data table cannot move away from the chart.

Expected Results:
Be able to move to the bottom of the chart, or better, 
1) display the data table always below the chart
2) give option to display below or above the chart...


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 68f4da7fff44c1bbb7922be536f496b38e457252
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 Olivier Hallot 2022-10-14 13:54:52 UTC
Created attachment 183047 [details]
test case with data table in the middle of the chart
Comment 2 Rafael Lima 2022-10-14 19:32:23 UTC
Confirmed with

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 7fc96ad09520abea4833ed7410fd3a2d1b63d7b1
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded

It seems the data table is hardcoded to be placed on top of the X Axis. If you change the position of the X Axis to -0.5 then the data table will be placed there.

Instead the data table should be placed below the chart.
Comment 3 Rafael Lima 2022-10-14 19:33:15 UTC
Created attachment 183051 [details]
Screenshot of the problem

Here's a screenshot of what I see.
Comment 4 Rafael Lima 2022-10-14 19:37:55 UTC
@Tomaz can you take a look at this one, please?