Bug 90730 - support overlay/no-overlay for chart title
Summary: support overlay/no-overlay for chart title
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
(earliest affected)
Hardware: Other All
: medium normal
Assignee: Not Assigned
Whiteboard: reviewed:2022
Keywords: difficultyInteresting, easyHack, skillCpp
Depends on:
Blocks: OOXML-Chart Chart-Enhancements Chart-Legends
  Show dependency treegraph
Reported: 2015-04-20 03:50 UTC by Markus Mohrhard
Modified: 2023-03-12 02:55 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Markus Mohrhard 2015-04-20 03:50:31 UTC
Based on OOXML interop this makes sense and would improve chart layouting. This would remove the need for some manual layouting and therefore improve our chart layouts.
Comment 1 Luke 2015-05-13 23:12:15 UTC
In office, if you right click the legend->Edit Legend, there's a checkbox, "Show the legend without overlapping the chart". Is that this feature? Would a sample file with it enabled/disabled help?

In addition to improved Excel interoperability, I think it would be very useful for us to have to ability to toggle on/off automatic resizing of the chart around the legend and title.
Comment 2 Markus Mohrhard 2015-07-30 19:48:36 UTC
So we already support this to some degree. We just need to make it an explicit property.

To see how it currently works have a look at the new chart sidebar which allows to switch between manual and automatic legend layout.
Comment 3 Luke 2015-08-01 10:15:30 UTC
I love the new chart sidebar. It's a great way to view and edit the chart properties. In regards to this issue, I've tried it with existing and new charts and  overlay/no-overlay seems to be working well. The only issue I noticed is it should be possible to set no-overlay property with top,left,right legend placement. Is making it explicit just a UI issue, or does it still need to be separated into 2 properties along with ODF/OOXLM support?
Comment 4 Robinson Tryon (qubit) 2015-12-14 05:03:44 UTC Comment hidden (obsolete)
Comment 5 Robinson Tryon (qubit) 2016-02-18 14:51:28 UTC Comment hidden (obsolete)
Comment 6 NISZ LibreOffice Team 2020-04-16 11:22:24 UTC
Note: in bug #131370 the OOXML export of the legends overlay feature was implemented. 
But not for title, since that setting cannot be changed from MSO UI, even if the standard allows it, so it's of no interest from us.
This bug can be left open as a reminder.
Comment 7 Gabor Kelemen (allotropia) 2022-09-15 21:02:58 UTC
Okay so to turn it on for chart titles, one needs to go to the Chart - Design ribbon in MSO, then Add Chart Element -> Chart Title -> Centered Overlay.

An example file is mentioned in bug 82218: attachment 104062 [details] and how it looks currently is attachment 182476 [details] 

The plain XML is:
            <c:overlay val="1"/>
Comment 8 Hossein 2022-09-15 21:11:46 UTC
Re-evaluating the EasyHack in 2022

Looking at the above comments, let's mark this issue as an EasyHack that is still relevant.
Comment 9 Ekta 2023-03-12 02:55:35 UTC
Hello, I want to work on this. Can someone please let me know how to get started?