Apache OpenOffice (AOO) Bugzilla – Issue 76760
New chart : Added series disorganise chart when changing sub-type or type
Last modified: 2013-02-24 21:21:29 UTC
Hello, To see the error, follow these steps : - enter data (X, Y1, Y2) - select X and Y1 data - create XY plot with "points only" (default XY scatter of wizzard) - right clic -> data ranges - data series - add a serie (X = same X data ; Y = Y2 data) That's great ! It works. But now : - right clic -> chart type - change to "Points and lines" => data get mixed : 2 new series created with X data only and twice X data (for X and Y) If chart is created all data at once, there is no problem. Same problem with column diagram when changing sub-type. Same problem when changing from column diagram to bar diagram.
Created attachment 44733 [details] Exemple of mixing of when changing sub-type
Confirmed in latest chart2mst3 build (based on m210). This happens only when using "Add" in the data-range dialog. When you add the series with drag and drop (which was also possible in the old chart) it works. So, this is no regression.
Taking the issue.
Accepting
Note: When adding the sequences in the order: y, label, x, it works. So this can probably be fixed in the DialogModel code that does some magic when there are no y-values while setting labels or x-values.
Fixed in tp_DataSource. There was a superfluous model update with empty ranges before the range chooser was opened.
apadting target
Please verify in CWS chart07.
seen ok in cws -> verified
After switching from XY to Line chart four data series are generated: 2 X, 1 Y1, 1 Y2. Verified fixed in m230, Closing
If the two X-Series Values are the same they are consolidated into one -> intended behavior