Bug 45478

Summary: Legends entries cannot be removed without removing plot on graph
Product: LibreOffice Reporter: kbmauser
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: jbfaure, markus.mohrhard
Priority: medium    
Version: 3.4.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: bugdoc created with version 4.2.0.0beta1

Description kbmauser 2012-01-31 22:21:18 UTC
The legend entry on any graph cannot be removed without deleting the corresponding plot on the graph.  

Create a simple x-y scatter graph with two sets of data on it and make sure the legend is shown. Select the second legend entry and delete it; notice that the corresponding data is also removed from the graph.  

The workaround to dealing with this is to manually create a legend - that takes an extremely long time and most end-users will not put up with this.

I will add screenshots if and when I have time, but at least the bug is reported and can be worked on.
Comment 1 kbmauser 2012-01-31 22:21:58 UTC
I have confirmed this bug on several different computers and installs of Libreoffice.  I'm changing the status to new.
Comment 2 Markus Mohrhard 2012-03-04 15:43:33 UTC
Can you please attach a test document and a step to step instruction how to reproduce this?
Comment 3 ign_christian 2013-06-26 07:02:55 UTC
NEEDINFO per comment 2
Comment 4 Owen Genat (retired) 2013-11-16 11:54:50 UTC
Unable to confirm this under Crunchbang 11 x86_64 running v4.1.3.2. Legend can be deleted without affecting the data series.
Comment 5 Jean-Baptiste Faure 2013-12-03 20:57:46 UTC
Created attachment 90188 [details]
bugdoc created with version 4.2.0.0beta1

Reproducible with version 4.2.0.0.beta1+ under Ubuntu 13.10 x86-64.

Steps to reproduce:
1/ open a new spreadsheet
2/ in A1 type A, in B1 type B
3/ in A2 type 1 and propagate until A11
4/ in B2 type -24 and propagate until B11 (if you do not like -24 you can choose another value ;-) )
5/ select A1:B11 and click the Chart button, keep all defaults and click Finish button
6/ click outside the chart to deselect it
7/ double click on the chart, then click on the legend
8/ here is the difficult part: click on the "Legend key" for B, that is the small red square, then hit the delete key
==> the second data series is removed from the chart.

Note: the removal of the legend for the second data series can be undone until the chart has not been deselected.

I am not sure if that is a bug because I do not know any good reason to want to remove a part of the legend. Hiding the legend, why not, but, IMHO, showing a partial legend is not a good idea.

So I suggest to close this bug report as NOTABUG. Markus, do you agree ?

Best regards. JBF
Comment 6 Jean-Baptiste Faure 2014-07-20 09:58:15 UTC
No answer, so assuming the answer is yes.
Closing as NotABug.

Best regards. JBF
Comment 7 Robinson Tryon (qubit) 2015-12-18 10:24:11 UTC Comment hidden (obsolete)
Comment 8 Xisco FaulĂ­ 2016-09-19 16:47:58 UTC Comment hidden (obsolete)