[Libreoffice-bugs] [Bug 142343] New: VIEWING Chart with calculated floating values displays broken data labels

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 18 07:22:59 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=142343

            Bug ID: 142343
           Summary: VIEWING Chart with calculated floating values displays
                    broken data labels
           Product: LibreOffice
           Version: 5.2.0.4 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Chart
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: erack at redhat.com, nemeth at numbertext.org,
                    varga.balazs3 at nisz.hu
            Blocks: 90486

Created attachment 172111
  --> https://bugs.documentfoundation.org/attachment.cgi?id=172111&action=edit
Example file from Excel

Attached user-made file contains calculated (such as: K9 cell is =B10-B9; while
B9=B4-100 and B10=B5-100; and K9 is one data point in the chart) floating point
values. While the cells display the calculated values with one decimal digit,
the chart data labels display the full floating point values such as 0,4
becomes 0,400(manyzeroes)6.
In case of the K9 cell, replacing the B9 and B10 cells formula with static
values fixes the chart data labels precision.

Steps to reproduce:
    1. Open attached file or its ODS-saved version

Actual results:
Chart data labels display the floating point values with too many digits.

Expected results:
Data labels show the floating point values with one decimal digit.

LibreOffice details:
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 91330c503b7eb91d777978018b66890af87cf8f5
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Also in 6.0, 5.2.
But not yet in 5.1.

Additional Information:
Bibisected using bibisect-win32-5.2 to:
URL:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=54862a932fc9ccc1788e91629818ec6666ec1c09 

author  Eike Rathke <erack at redhat.com>  2016-01-14 17:42:54 +0100
committer       Eike Rathke <erack at redhat.com>  2016-01-14 17:52:59 +0100

do it right and remove then superfluous mumbo-jumbo

Adding CC to: Eike Rathke


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=90486
[Bug 90486] [META] Chart bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210518/83c145f5/attachment.htm>


More information about the Libreoffice-bugs mailing list