Bug 161228 - Pie-of-pie and bar-of-pie charts display NaN value as label
Summary: Pie-of-pie and bar-of-pie charts display NaN value as label
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: kurt.nordback@protonmail.com
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Chart-Labels Pie-and-Donut
  Show dependency treegraph
 
Reported: 2024-05-23 09:03 UTC by Mihai Vasiliu
Modified: 2024-10-15 21:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example file (54.55 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2024-05-23 09:04 UTC, Mihai Vasiliu
Details
slide 1 as shown in MS Office (65.13 KB, image/png)
2024-05-23 09:04 UTC, Mihai Vasiliu
Details
slide 2 as shown in MS Office (80.78 KB, image/png)
2024-05-23 09:04 UTC, Mihai Vasiliu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Vasiliu 2024-05-23 09:03:44 UTC
Description:
One of the data labels in the pie-of-pie chart is showing the value of NaN.

Steps to Reproduce:
1. Open attached pptx file.
2. Look at the two slides.

Actual Results:
Both slides show a Chart with a data value of NaN.

Expected Results:
The values should be displayed like in the attached picture (from MS Office)


Reproducible: Always


User Profile Reset: No

Additional Info:
Note that opening the pptx in LO 24.4 does not show the NaN value, but it does not support the pie-of-pie chart.

Version: 24.8.0.0.alpha1 (X86_64) / LibreOffice Community
Build ID: a17e39caaf73108bee692d6f64a44c62f4066f1d
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: ro-RO (ro_RO); UI: en-US
Calc: CL threaded
Comment 1 Mihai Vasiliu 2024-05-23 09:04:06 UTC
Created attachment 194290 [details]
example file
Comment 2 Mihai Vasiliu 2024-05-23 09:04:21 UTC
Created attachment 194291 [details]
slide 1 as shown in MS Office
Comment 3 Mihai Vasiliu 2024-05-23 09:04:31 UTC
Created attachment 194292 [details]
slide 2 as shown in MS Office
Comment 4 Stéphane Guillou (stragu) 2024-06-07 11:53:34 UTC
Reproduced in:

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 1f15d097cace14ca6e44e7652f460aa3fa7bd150
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

Even reproducible by adding labels to a chart create from scratch in LO:

1. Open Calc
2. Insert "1" in cell A1, autofill A1:A5
3. With A1:A5 selected, insert a pie-of-pie or bar-of-pie chart
4. Insert > Data labels > Value as number > OK

See result in attachment 194583 [details].
Comment 5 Mihai Vasiliu 2024-08-19 08:56:48 UTC
Issue not present anymore in

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cd4498d32867af26e95de84836b724b4f85ba1b0
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: ro-RO (ro_RO); UI: en-US
Calc: CL threaded