Bug 134191 - Not possible to change series titles in graphs
Summary: Not possible to change series titles in graphs
Status: RESOLVED DUPLICATE of bug 82298
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
: 142596 (view as bug list)
Depends on:
Blocks: Chart-Data
  Show dependency treegraph
Reported: 2020-06-21 13:17 UTC by andis.lazdins
Modified: 2022-11-18 11:07 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

Chart series title (14.84 KB, application/vnd.oasis.opendocument.text)
2020-06-21 13:28 UTC, andis.lazdins
Cpmparison of simple and complex charts (77.44 KB, application/vnd.oasis.opendocument.text)
2020-12-01 11:55 UTC, andis.lazdins

Note You need to log in before you can comment on or make changes to this bug.
Description andis.lazdins 2020-06-21 13:17:49 UTC
Quite often it is not possible to change series titles in graphs created in Calc after they are copied to Writer. Instead of changing series title any edition results in multiplication of existing series titles.
The issue affects 6.4 and 7.0 versions.

Steps to Reproduce:
1. Open attached file and enter chart.
2. Press View > Data Table.
3. Select any of series title and write some text.
4. Press Close and check result.

Actual Results:
Instead of new series title previous and new title appears. Every edition attempt results in multiplication of previous title with added new title.

Expected Results:
New series title appears instead of old one.

Reproducible: Always

User Profile Reset: Yes

Additional Info:
Build ID: 1c213561a365b5666167321de68c9977500c9612
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: lv-LV (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 1 andis.lazdins 2020-06-21 13:28:20 UTC
Created attachment 162252 [details]
Chart series title
Comment 2 BogdanB 2020-06-21 20:21:25 UTC
Confirm it with

Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US
Calc: threaded
Comment 3 BogdanB 2020-06-21 20:28:35 UTC
Also in Version (Build ID: e183d5b), it is the first that I have
So, I supose it is inherited from Ooo.
Comment 4 andis.lazdins 2020-07-08 05:00:14 UTC
(In reply to BogdanB from comment #3)
> Also in Version (Build ID: e183d5b), it is the first that I have
> So, I supose it is inherited from Ooo.

It is important that the file provided with the report is created in Libreoffice 6.4.x, therefore wrong behavior in earlier Libreoffice versions may be result of a regression in the most recent versions. I use Charts intensively and this problem appeared to me only in Libreoffice 6.4.x, not earlier.
Comment 5 andis.lazdins 2020-08-21 05:01:59 UTC
This is really annoying issue, it affects the most of the charts created in calc. 6.4 and 7.0 versions are affected.
Comment 6 andis.lazdins 2020-11-15 18:40:00 UTC
This regression persists in LibreOffice 7.1 alpha.
Comment 7 andis.lazdins 2020-12-01 11:55:14 UTC
Created attachment 167708 [details]
Cpmparison of simple and complex charts

An example of error demonstrating that it is not possible to change categories in charts, follows in attachment. If the Chart is created in Writer, there are no problems (first 2 charts in attached file); if chart is created in calc and pasted into writer, then it is not possible to replace categories later in writer, if initially in calc document they are in column, e.g. A1 to A6 (3rd to 4th chart), but they can be changed if categories are in row in calc, e.g. A1:E1. This is workaround, but, really, it would be good to solve this annoying issue.
Comment 8 Leyan 2020-12-16 21:41:59 UTC
I can confirm the bug and wrote about it in the mailing list: https://lists.freedesktop.org/archives/libreoffice/2020-December/086455.html

It affects all charts created in Calc with data in rows then copied to Writer. It is due to the charts with internal data table, like in Writer, trying to transpose the initial data to change the data to columns, but then this is not correctly managed during the category label edition and it causes the bug.
Comment 9 NISZ LibreOffice Team 2021-06-01 12:00:20 UTC
*** Bug 142596 has been marked as a duplicate of this bug. ***
Comment 10 Stéphane Guillou (stragu) 2022-11-18 11:07:41 UTC

*** This bug has been marked as a duplicate of bug 82298 ***