Bug 141412 - Linear Trendline Replaced with 'Mean Value Line' when 'Force Intercept' Selected AND X-Values are Formatted as Dates
Summary: Linear Trendline Replaced with 'Mean Value Line' when 'Force Intercept' Selec...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Chart-Trendlines
  Show dependency treegraph
 
Reported: 2021-03-31 23:54 UTC by elittera
Modified: 2022-06-13 13:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test ODS (17.07 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-06-13 13:14 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elittera 2021-03-31 23:54:21 UTC
Description:
When an X-Y scatter chart has a linear trendline, the trendline will become a mean value line, if the X values are formatted as a dates AND the trendline has 'force intercept' selected.  Also, the intercept value has a maximum entry of 10,000, which is much too low.

Steps to Reproduce:
1. create an x-y scatter chart with data as numbers
2. add a linear trendline
3. format the x values as 'date' and set them as valid dates
4. set 'force intercept' on the trendline with an appropriate value

Actual Results:
Trendline on chart becomes a horizontal mean value line, while still displaying as a trendline.

Expected Results:
Trendline should adjust to have y intercept as selected


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.5.2 (x64)
Build ID: 64390860c6cd0aca4beafafcfd84613dd9dfb63a
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 1 Buovjaga 2022-04-01 08:33:59 UTC
(In reply to elittera from comment #0)
> Description:
> When an X-Y scatter chart has a linear trendline, the trendline will become
> a mean value line, if the X values are formatted as a dates AND the
> trendline has 'force intercept' selected.  Also, the intercept value has a
> maximum entry of 10,000, which is much too low.
> 
> Steps to Reproduce:
> 1. create an x-y scatter chart with data as numbers
> 2. add a linear trendline
> 3. format the x values as 'date' and set them as valid dates

Please attach an example document showing the state at step 3 so we can quickly test.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 2 Timur 2022-06-13 11:50:03 UTC Comment hidden (obsolete)
Comment 3 Timur 2022-06-13 13:04:05 UTC
Reproduce in 7.1 and 7.4+. Linear is not really replaced by Mean but looks so.
Comment 4 Timur 2022-06-13 13:14:02 UTC
Created attachment 180726 [details]
Test ODS