Issue 86055

Summary: Insert/ Mean Value Lines needs a check box in sub-menu to remove all lines with once click
Product: General Reporter: jogi
Component: chartAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: christian.jansen, issues, thomas.klarhoefer
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description jogi 2008-02-13 08:07:52 UTC
In chart19 you have introduced Insert / 'Mean Value Lines' to insert the line(s)
in a chart.
From UI perspective a check-box is needed to remove the line(s) the same way. It
isn't possible on one step via context menu and also there exists no dialog to
do that.

See also:
[General]
- View / Status bar
[Writer]
- Edit / Changes / Show
[Calc]
- View / Value highlighting
Comment 1 bjoern.milcke 2008-02-22 17:09:33 UTC
I don't see this requirement. When you just added mean value lines for all
series, you can undo this with the Undo function (Ctrl-Z).

It is now also possible to remove a single mean value line via the context menu
of a data series, and it is possible to select the mean value and press delete.

Technically, it would be no problem to introduce a function that deletes all
mean value lines, but from a UI perspective I see this problematic: What do you
do if half the series have mean value lines, then you would need a command "add
mean value lines for the rest of the  series" and "remove mean value lines from
series that have mean value lines".

This is the major difference to the examples you pointed out: there is only one
Status Bar, the showing of changes is only a view setting that applies to all
changes or none. For mean value lines you would need some kind of tri-state.

Another option would be to drop the "Insert Mean Value Lines for all series"
menu item at all. I am not sure if this is really a requirement. And it would
remove the conflict described here.

The technical solution you point out here seems not appropriate: a menu item
Insert/Mean Value Lines with a check box to delete those objects when the check
box is on?

Please clarify how this could be solved. As I said, I would also see the
possibility to drop the "Insert/Mean Value Lines" menu item. Maybe this is the
best solution.
Comment 2 bjoern.milcke 2008-02-22 17:10:57 UTC
->CJ: What do you think about this issue?
Comment 3 thorsten.ziehm 2008-08-14 12:30:56 UTC
Changed target to 3.x. If a solution is found, then the correct target could be set.
Comment 4 jogi 2008-08-24 12:56:19 UTC
-> CJ
Comment 5 christian.jansen 2008-08-27 09:52:08 UTC
My suggestion would be to offer the following context menu items:

If one Mean Value Line is added to the chart:

"Delete Mean Value Line"


If more than one Mean Value Line is added to the chart:

"Delete Mean Value Line"
"Delete All Mean Value Lines"


If more than one Mean Value Line is selected (multi selection of objects using
STRG should be possible even within charts):

"Delete Selected Mean Value Lines"
"Delete All Mean Value Lines"
Comment 6 christian.jansen 2008-08-27 09:52:57 UTC
Reassigned to Björn.
Comment 7 oc 2009-08-10 14:52:04 UTC
reassigned to iha