Issue 91420 - number of lines on chart type dialog is incorrect
Summary: number of lines on chart type dialog is incorrect
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
QA Contact: issues@graphics
Depends on:
Blocks: 72764
  Show dependency tree
Reported: 2008-07-07 08:24 UTC by weiz
Modified: 2013-02-24 21:22 UTC (History)
2 users (show)

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

patch_20090729 (798 bytes, patch)
2009-07-30 02:20 UTC, weiz
no flags Details | Diff
example (13.03 KB, application/vnd.oasis.opendocument.spreadsheet)
2009-08-07 21:41 UTC, IngridvdM
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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