Description: If chart is created in Calc and have vertical structure of headers appearing in legend, after pasting in Writer it is not possible to change column headers. Writing other header in data table results in old and new header appearing in legend. If column headers in Calc are arranged horizontally (in one row), this issue usually is not appearing; however, sometimes it happens also with horizontally arranged column headers. Steps to Reproduce: 1. Open attached Calc file. 2. Copy Chart with "Horizontal" in title. 3. Create new Writer document and paste the copied chart into the file. 4. Double click on the chart to edit it. 5. Select View > Data table... and write something instead of the header Carbon in above ground living biomass. 6. Close Data table. Actual Results: Both, old and new titles are appearing in the legend. Expected Results: Only new title should appear. Reproducible: Always User Profile Reset: Yes Additional Info: The problem repeats every time. Correct behavior can be reached if chart with title Vertical is pasted into writer. However, sometimes transposing is not solving this issue. This is issue inherited from previous versions of Libreoffice. Version: 7.6.4.1 (X86_64) / LibreOffice Community Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1 CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: lv-LV (en_US.UTF-8); UI: en-US Calc: CL threaded
Created attachment 192026 [details] Calc file with charts for demonstration of the problem
Created attachment 192027 [details] Writer file demonstrating the issue In this writer file examples of attempt to change legend in vertically and horizontally oriented data can be seen.
Reproducible Version: 7.6.4.1 (X86_64) / LibreOffice Community Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded and Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 83c1df8e524cc74c6d1afcadb3cccba5ef2eb123 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded