Bug 66250

Summary: Use a Named range as data source for Chart
Product: LibreOffice Reporter: Pedro <pedlino>
Component: SpreadsheetAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: medium CC: suokunlong
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://issues.apache.org/ooo/show_bug.cgi?id=64604
Whiteboard:
i915 platform: i915 features:

Description Pedro 2013-06-27 10:28:47 UTC
This has been a long standing limitation in OOo and now LO.

You can use Named ranges as source for Pivot tables but not for charts. 

This would allow to have charts defined for later data input (currently that is not possible because the data range is automatically reduced to cells containing data)

See this topic as an example (there are many others)
http://ask.libreoffice.org/en/question/19627/calc-charts-automatically-increasing-data-range/
Comment 1 Owen Genat 2014-07-05 00:57:45 UTC
Added related Apache OO issue to See Also list. Version set to Inherited from OOo.
Comment 2 Owen Genat 2014-07-05 01:34:51 UTC
A workaround is to select an additional empty row (above and below) for the Data Range and ensure this option is selected: 

Tools > Options > LibreOffice Calc > General > Input Setting > Expand references when new columns/rows are inserted

Inserting a new row beneath the last row will then automatically update the chart as expected. Same effect if inserting a new row prior to first row of data.
Comment 3 Pedro 2014-07-05 06:39:20 UTC
(In reply to comment #2)
> Inserting a new row beneath the last row will then automatically update the
> chart as expected. Same effect if inserting a new row prior to first row of
> data.

Thanks. I already do that. But I hope that someone actually adds this feature. It doesn't make sense that you can use Named ranges for some features but not for others. It's inconsistent and unintuitive ;)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.