Bug 144220 - EDITING: Relative sheet name of a data range of chart is not stored
Summary: EDITING: Relative sheet name of a data range of chart is not stored
Status: CLOSED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-31 13:00 UTC by snowboard975
Modified: 2021-08-31 14:44 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Relative sheet name of a data range of chart is not stored (12.15 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-08-31 13:00 UTC, snowboard975
Details

Note You need to log in before you can comment on or make changes to this bug.
Description snowboard975 2021-08-31 13:00:09 UTC
Created attachment 174668 [details]
Relative sheet name of a data range of chart is not stored

When I try to input a relative sheet name in a range of cells of a chart, such as Sheet1.$A$1 (no $ sign in front of "Sheet") instead of $Sheet1.$A$1, the relative name is removed automatically after clicking the OK button. 
This is frustrating when copying a chart to another sheet when I want the copied sheet to refer to the data range in the new sheet instead of the original sheet. 

How to reproduce the bug:
* Create a new calc document
* Input 1 at cell A1
* Click on the chart icon on the toolbar at cell A1.
* Click Next
* Input a cell range with a relative sheet name such as Sheet1.$A$1
* Click Finish
* Double click the chart and right click on the chart selecting data range

Expected result: 
* The chart has the range of Sheet1.$A$1

Actual result:
* The chart has the range of $Sheet1.$A$1
Comment 1 Eike Rathke 2021-08-31 14:44:44 UTC
Chart is agnostic about its position and relative references and knows only absolute references, be it sheets, columns or rows. It asks Calc to hand over data for a specific cell range.