Bug 139254 - Zero on y axis of graph in scalc is not shown as zero but as very small number close to zero with many digits
Summary: Zero on y axis of graph in scalc is not shown as zero but as very small numbe...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-27 10:36 UTC by snowboard975
Modified: 2022-12-30 03:28 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Zero on the y axis is not displayed as zero but as a very small number (15.15 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-12-27 10:38 UTC, snowboard975
Details

Note You need to log in before you can comment on or make changes to this bug.
Description snowboard975 2020-12-27 10:36:12 UTC
Description:
Zero on y axis of a graph in Libreoffice Calc is not shown as zero but as a very small number that contains many digits such as 2.7755576156289E-17. 

Steps to Reproduce:
1. Input the following values in the range A1:B3 of a sheet in Calc: 
   X    Y
   A  -0.1
   B  0.09
2. Select the range A1:B3 and click the icon of "insert chart" on the toolbar, and click the finish button.
3. Double click the y axis to open a window to modify the scale. Click the checkbox "Automatic" on the right side of Maximum on the scale tab.
4. Change the maximum value from 0.15 to 0.1. Click OK. 

Actual Results:
Zero value on the y axis is shown as 2.7755576156289E-17.


Expected Results:
Zero value on the y axis should be shown as zero exactly.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Sometimes, it is necessary to adjust scales of multiple graphs to match their scales into one for easy comparisons. When this bug occurs, it becomes very difficult and cumbersome to detour this problem by trying many different scales to avoid this problem.
Comment 1 snowboard975 2020-12-27 10:38:19 UTC
Created attachment 168506 [details]
Zero on the y axis is not displayed as zero but as a very small number

This is the spreadsheet that reproduces the reported bug.
Comment 2 Martin Srdoš 2020-12-27 16:59:00 UTC
Hello Snowboard,

Thank you for reporting the bug. I can confirm that the bug is present in master.

Version: 7.2.0.0.alpha0+ (x64)
Build ID: a63caf49958b40e33e0d7aaedbe6424f78ecdc46
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: en-US
Calc: threaded

Also in 

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 3 QA Administrators 2022-12-30 03:28:17 UTC
Dear snowboard975,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug