Issue 91420

Summary: number of lines on chart type dialog is incorrect
Product: General Reporter: weiz <weizhao>
Component: chartAssignee:
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: IngridvdM, issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 72764    
Description Flags
example none

Description weiz 2008-07-07 08:24:21 UTC
1. create a Column and Line chart with more than two data series.
2. right click the data series and select "Chart Type" to open the chart type 
3. change the number of line.
4. change the chart type(do not click the OK button).
5. change the chart type back to Column and Line.

we can see that the number in the field "Number of lines" is 1, not consistent 
with the actual number of lines at the showing chart.
Comment 1 IngridvdM 2009-07-28 10:11:11 UTC
@weiz, please have a look at this.
Comment 2 weiz 2009-07-30 02:20:40 UTC
Created attachment 63846 [details]
Comment 3 weiz 2009-07-30 02:22:18 UTC
@iha, the patch is attached, please let me know your suggestions. Thank you!
Comment 4 IngridvdM 2009-07-31 17:09:24 UTC
@weiz, the patch looks good :-).
I submitted the fix to CWS chart40.
Comment 5 IngridvdM 2009-08-07 21:41:47 UTC
Created attachment 64012 [details]
Comment 6 IngridvdM 2009-08-07 21:47:50 UTC
@Sophie, please verify in CWS chart40. Thanks! Ingrid.
Load the attached example and double click the chart.
Within the context menu select Chart Type... .
Select a different number of lines - 4 for example.
Switch to chart type 'Area' and switch back to chart type 'Column and Line'.
->The number of lines displayed in the spin field should be what was entered
before - namely 4.
Comment 7 2009-08-12 09:28:14 UTC
Verified in CWS chart40 - Sophie
Comment 8 2009-09-05 12:33:46 UTC
Verified in DEV300_m57 - Closing - Sophie