Bug 125115

Summary: Wrong pie chart's legend when there are gaps in data range
Product: LibreOffice Reporter: Roman Kuznetsov <79045_79045>
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: aron.budea, jalojo, kelemeng
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108543    
Attachments: sample file with pie chart
Screenshot of the example file

Description Roman Kuznetsov 2019-05-04 13:02:10 UTC
Description:
Wrong pie chart's legend when there are gaps in data range

This bug folows from bug 66327

Steps to Reproduce:
1. Open file from attach
2. Look at legend on chart
3. There is unnecessary item between first and second items

Actual Results:
There is unnecessary item in the legend

Expected Results:
Legend has only necessary items


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Roman Kuznetsov 2019-05-04 13:03:32 UTC
Created attachment 151177 [details]
sample file with pie chart
Comment 2 Gabor Kelemen (allotropia) 2019-05-06 07:21:40 UTC
Created attachment 151196 [details]
Screenshot of the example file

Repro with bibisect-win32-6.3 :

Version: 6.3.0.0.alpha0+
Build ID: 83abdf803a023067ebc207fd82dde987df233754
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: en-US (hu_HU); UI-Language: en-US
Calc: threaded
Comment 3 Jacques Guilleron 2019-05-30 13:22:16 UTC
Hi Roman, Gabor,

I Observed I get a correct legend by selecting datas this way:
A2, CTRL A4, CTRL B2, CTRL B4

Have a fine day,

Jacques
Comment 4 Aron Budea 2020-06-06 08:13:38 UTC
Same in LO 3.3.0.
Checked the same in Excel 2013, and it behaves the same (not implying whether that should decide if it's regarded as a bug). We can probably lower the severity, though.
Comment 5 QA Administrators 2022-06-07 03:26:44 UTC Comment hidden (obsolete)
Comment 6 Gabor Kelemen (allotropia) 2022-06-07 15:31:36 UTC
Still happens in

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: 754eb1541a6ca709f78afbc7fb2b75f626562dcc
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded