Bug 161090 - Allow specifying how many / which values are grouped in remainder of Pie-of-Pie or Bar-of-Pie chart
Summary: Allow specifying how many / which values are grouped in remainder of Pie-of-P...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: kurt.nordback@protonmail.com
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks: Pie-and-Donut
  Show dependency treegraph
 
Reported: 2024-05-16 00:32 UTC by Stéphane Guillou (stragu)
Modified: 2024-10-15 21:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample ODS with basic bar-of-pie showing the last 3 values grouped as sub-chart (18.43 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-05-16 00:32 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2024-05-16 00:32:46 UTC
Created attachment 194138 [details]
sample ODS with basic bar-of-pie showing the last 3 values grouped as sub-chart

The new bar-of-pie and pie-of-pie chart types groups the last three values of the data range to construct the sub-chart (see bug 50934 comment 21).
Note that this also differs from MS 365's default, which groups the last two.

The UI does not currently allow changing how many values are grouped, or which ones. This is confusing (the user can't easily understand the logic) and is too limiting in customisability.

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 658a212585c56540a17c41111e6829716d4ef4e3
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

Copying UX/Design team for opinion on the best UI for that.
Comment 1 Heiko Tietze 2024-06-07 07:15:33 UTC
Made a suggestion on bug 161093 that might solve this ticket too.
Comment 2 kurt.nordback@protonmail.com 2024-06-11 22:54:02 UTC
FWIW, it appears to me that the default MSO behaviour (split type "auto") puts the last 
ceil(n/3.0) 
entries in the right subchart.
Comment 3 Stéphane Guillou (stragu) 2024-06-27 11:00:14 UTC
Kurt's pending patch on gerrit: https://gerrit.libreoffice.org/c/core/+/168690

Marking as "assigned".
Comment 4 Heiko Tietze 2024-07-01 10:50:29 UTC Comment hidden (off-topic)
Comment 5 Commit Notification 2024-07-29 11:13:06 UTC
Kurt Nordback committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/37bca7e571b1356b29addeb631066350e03e64ea

tdf#161090 - Spec how many / which values are in remainder of-Pie chart

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Stéphane Guillou (stragu) 2024-07-30 03:54:46 UTC
Thanks Kurt!

Fix verified in own build with today's sources:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d671bceed0ba7195eae1e063d4a363074f8483a0
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded