Bug 161800 - I/O of "# of values in second plot" parameter for bar/pie of pie is not supported
Summary: I/O of "# of values in second plot" parameter for bar/pie of pie is not suppo...
Status: ASSIGNED
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:
Keywords: filter:ooxml
Depends on:
Blocks: OOXML-Chart Pie-and-Donut
  Show dependency treegraph
 
Reported: 2024-06-26 19:46 UTC by kurt.nordback@protonmail.com
Modified: 2024-10-15 21:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test case (15.23 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2024-06-26 20:02 UTC, kurt.nordback@protonmail.com
Details
MSO rendering of test case (24.95 KB, image/png)
2024-06-26 20:04 UTC, kurt.nordback@protonmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kurt.nordback@protonmail.com 2024-06-26 19:46:28 UTC
Description:
A parameter for bar/pie of pie charts specifying how many values go in the second plot is now supported (pending approval). Currently input/output of this parameter to/from OOXML (which supports it) and ODF (which doesn't currently support it) is not implemented.

Steps to Reproduce:
1. Load the attached file "pie-of-pie-9-values-in-2nd.xlsx" into LO
2. Rendering should look like "pie-of-pie-9-values-in-2nd-rendered.png" -- but it doesn't.
3. Open the sidebar, click on the chart, and increase the "# of values in second plot" to 9. The chart should now look more or less like the MSO rendering.
4. Save as ODF and re-open. Again the number of values in the right-hand chart is reset.

Actual Results:
# of values in second plot is not preserved through save-and-open

Expected Results:
Should look like "pie-of-pie-9-values-in-2nd-rendered.png"


Reproducible: Always


User Profile Reset: No

Additional Info:
Pending https://gerrit.libreoffice.org/c/core/+/168690
Comment 1 kurt.nordback@protonmail.com 2024-06-26 20:02:52 UTC
Created attachment 194988 [details]
test case
Comment 2 kurt.nordback@protonmail.com 2024-06-26 20:04:10 UTC
Created attachment 194989 [details]
MSO rendering of test case
Comment 3 Stéphane Guillou (stragu) 2024-06-27 11:00:34 UTC
Reproduced that the number of slices in subchart coming from OOXML is not respected in:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c8f72c2a3a7b347c54089d96b0794b4586022688
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
Comment 4 Stéphane Guillou (stragu) 2024-06-27 11:13:32 UTC
Hm I guess this is the same as bug 161229, right?