Issue 75281 - Non-linear regressions in charts not rendered correctly.
Summary: Non-linear regressions in charts not rendered correctly.
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: spreadsheet
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-11 01:19 UTC by mizu
Modified: 2013-02-24 21:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Spreadsheet showing all possible cases. (234.41 KB, application/vnd.sun.xml.calc)
2007-03-11 02:32 UTC, mizu
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mizu 2007-03-11 01:19:39 UTC
Non-linear regression curves in charts are not rendered correctly in the
presence of either 0 and/or negative values in the X and/or Y value.

In all cases, when a certain condition is met, the lines are rendered as flat
lines at the bottom of the chart.

For logarithmic regression, the condition is the presence of 0 or less (negative
number) in the X set of data.

For exponential regression, the condition is the presence of a negative number
in the Y set of data.

For power (polynomial?) regression, the condition is the presence of 0 or less
(negative number) in the X set of data OR the presence of a negative number in
the Y set of data.

I assume it is the related to the mathematical nature of logarithms, exponents,
and polynomials of the 2nd degree, but Excel seems to render the equivalent
trend line correctly.
Comment 1 mizu 2007-03-11 02:31:36 UTC
Attached is a spreadsheet file (.ods) which displays the different cases at work
(9 different cases for each non-linear regression curve plus the linear curve).

Additional information on the conditions are on the sheet named "Results".
Comment 2 mizu 2007-03-11 02:32:47 UTC
Created attachment 43641 [details]
Spreadsheet showing all possible cases.
Comment 3 mizu 2007-03-11 06:11:07 UTC
Not enough research was done for this and it turns out something might have done
differently Excel.
Comment 4 frank 2007-03-12 10:39:01 UTC
Wrong component. This is Chart.

closed on request