Issue 71233 - new chart: empty data serie are not removed
Summary: new chart: empty data serie are not removed
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords: new_implementation
Depends on:
Blocks:
 
Reported: 2006-11-06 08:05 UTC by jumbo444
Modified: 2013-02-24 21:22 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jumbo444 2006-11-06 08:05:30 UTC
- Create a XY plot chart
- Data ranges / Data series / Add to create an empty serie without any data. Put
it in the last position (effect is the same if it is not the last, but it is
more (in)visible like this) OK
Then a new serie has been added. It is visible in the legend. But as it has no
name, you cannot see it when you re-open Data ranges (if you /know/ where it is,
you can click on its empty name and remove it hopefully).
If you save the file, close and re-open it and open the diagram, then the empty
serie is removed. It should be done earlier.
Same behavior with other diagram types.
Comment 1 kla 2006-11-14 09:59:46 UTC
@Bjoern: one for you.
Comment 2 bjoern.milcke 2006-11-14 17:49:50 UTC
The dialog should at least show a placeholder, to allow selection of the list
box entry. An empty series cannot be stored. Every chart type has mandatory
Roles, that must have a data series. The Ok button in the Data Ranges dialog
should be disabled as long as the mandatory role sequences do not have any valid
ranges. Adding the string "<invalid>" or sth. like that would help showing the
user the reason why OK is disabled.
Comment 3 IngridvdM 2006-11-16 18:44:32 UTC
changed summary to start with 'new chart:'
Comment 4 bjoern.milcke 2007-01-11 15:14:01 UTC
The empty series is at least now (Milestone 10) called "Unnamed Series", so you
see something and have something to select.
Comment 5 IngridvdM 2007-01-18 11:47:24 UTC
changed target to 2.3
Comment 6 bjoern.milcke 2007-02-16 14:58:27 UTC
Currently, I see no way to tell the wizard that a page is not ready for commit,
i.e. a mechanism that disabled the Finish button or pops up a message when a
user hits Finish.

Furthermore, the wizard page is also a tab-page in a tabbed dialog. There is a
mechanism (DeactivatePage()) which apparently does not work for the wizard.
Comment 7 bjoern.milcke 2007-02-27 16:26:11 UTC
Invalid ranges are now shown in white with red background (like a failed search
in Firefox). Invalid ranges or empty series (where mandatory roles are missing)
block switching to another tab in the wizard or the data dialog and disable the
commit button (Finish in Wizard, OK in Dialog)
Comment 8 bjoern.milcke 2007-03-02 14:57:39 UTC
Please verify in chart2mst3 milestone 11_1.

Empty series can no longer be created. A newly created series blocks the dialog.
Only after entering a valid range for at least one data sequence (not the
label), the series is accepted.
Comment 9 bjoern.milcke 2007-03-02 15:01:06 UTC
=>kla
Comment 10 kla 2007-03-12 14:30:44 UTC
BM wrote: The Ok button in the Data Ranges dialog
should be disabled as long as the mandatory role sequences do not have any valid
ranges. 
kla: ok for Dataseries, folow up issue is i75297
Comment 11 andreschnabel 2007-07-17 17:42:11 UTC
ok in SRC680m220 -> closing