Bug 156996 - Pie chart: Source format keeps cheked, even if it is disabled by user
Summary: Pie chart: Source format keeps cheked, even if it is disabled by user
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Chart-Labels Pie-and-Donut
  Show dependency treegraph
 
Reported: 2023-08-29 21:44 UTC by Dramon Conte
Modified: 2024-10-15 21:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
prinstcreen (26.05 KB, image/png)
2023-08-30 17:53 UTC, raal
Details
Demo document (16.82 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-10-21 13:49 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dramon Conte 2023-08-29 21:44:21 UTC
Description:
Selecting “Source format” in “Number Format for Percentage Value” and select “Percent” with “Decimal places” set to 2, nothing changes. On the contrary, when I go back to that “Number Format and Percentage Value” page, the “Source format” tick box is activated again…
It's impossible to show 2 or more decimals in pie charts when using percentage.
I tried with versions 7.4.5.1 on Debian end with version 7.0.5.2 on Windows.
I followed the steps on https://ask.libreoffice.org/t/how-do-i-get-a-pie-chart-to-show-percent-values/38304/3 without success.

Steps to Reproduce:
1.Insert a pie chart;
2.Select the diagram inside the box;
3.Insert data labels;
4. With right click, format label data, select “Percent” with “Decimal places” set to 2 and uncheck Source Format, the percentage numbers return without decimal places. 

Actual Results:
The percentage numbers return without decimal places.

Expected Results:
The percentage numbers with decimal places.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
https://ask.libreoffice.org/t/how-do-i-get-a-pie-chart-to-show-percent-values/38304/3.
Comment 1 m_a_riosv 2023-08-30 01:26:46 UTC
You try but there is not your sample file, please attach one.
Comment 2 raal 2023-08-30 17:53:15 UTC
Created attachment 189266 [details]
prinstcreen

It works for me with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0ab3f09011e4c4c1b85dda72f81f252899162ab5
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
It doesn't work when Value as number is ticked too - looks like "Source format" in format number settings is sometimes set?
Comment 3 BogdanB 2023-09-02 12:28:41 UTC
Repro with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b0b7db318717b64259fc136e8d5b3268cd9af1c3
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

After doing all the steps, if we go back to changing data labels, under "Percentage format" -> Source format is checked even if before was disabled.
Comment 4 BogdanB 2023-10-21 13:49:02 UTC
Created attachment 190366 [details]
Demo document