Bug 161902 - Exploding pie chart is "poorly exploded" - unreasonable placement of slices
Summary: Exploding pie chart is "poorly exploded" - unreasonable placement of slices
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2024-07-05 09:16 UTC by Eyal Rozenberg
Modified: 2024-07-24 07:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Calc window with mis-exploded pie chart (109.62 KB, image/png)
2024-07-05 09:16 UTC, Eyal Rozenberg
Details
Document used to generate the screenshot (88.95 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-07-05 09:17 UTC, Eyal Rozenberg
Details
MS Office rendering of the same data (17.96 KB, image/png)
2024-07-24 03:05 UTC, kurt.nordback@protonmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2024-07-05 09:16:34 UTC
Created attachment 195115 [details]
Calc window with mis-exploded pie chart

Consider the pie chart in the attachment.

The "explosion" of the slices is poor:

* The slices are not aligned along a circle 
* ... specifically, not a circle such that the slice tips point towards its center
* Some slices are extremely close together, others reasonably close together, while others still are extremely far apart.

This is not aesthetic at all!

Data used in producing the screenshot:

Status,Count - Bug ID
ASSIGNED,3
CLOSED,2
NEEDINFO,2
NEW,244
REOPENED,2
RESOLVED,270
UNCONFIRMED,95
VERIFIED,27
Total Result	645

(but of course don't chart the total)

Seen with:

Version: 24.8.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 318462181c709ed29c01eb3239b4d600d7b82ecc
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: CL threaded
Comment 1 Eyal Rozenberg 2024-07-05 09:17:15 UTC
Created attachment 195116 [details]
Document used to generate the screenshot

(The document has a data table and a pivottable on two sheets, but that shouldn't matter)
Comment 2 m_a_riosv 2024-07-05 22:20:14 UTC
Inherited from AOo.
Happens also with charts not from pivot tables.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bff48f885e3aad560776a42e451a735ed6c72c57
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 kurt.nordback@protonmail.com 2024-07-24 03:05:27 UTC
Created attachment 195465 [details]
MS Office rendering of the same data

Although it may be hard to see, the pie slice inner vertices do lie on a circle. LO's rendering is essentially the same as MSO's, for what it's worth. See the attached image.
Comment 4 Eyal Rozenberg 2024-07-24 07:01:28 UTC
(In reply to kurt.nordback@protonmail.com from comment #3)
> Although it may be hard to see, the pie slice inner vertices do lie on a
> circle. 

It's their outer arcs which should lie on a circle... that's how my intuition works anyway.
Comment 5 Eyal Rozenberg 2024-07-24 07:02:27 UTC
(In reply to kurt.nordback@protonmail.com from comment #3)
> LO's rendering is essentially the same as MSO's, for what it's
> worth. See the attached image.

MSO's rendering also looks bad to me, but ours looks worse. Perhaps an exaggeration of the same problematic effect...