Issue 125823

Summary: Equation shows "Inf" in special exponential regression curve
Product: General Reporter: Regina Henschel <rb.henschel>
Component: chartAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3    
Version: 4.1.1   
Target Milestone: ---   
Hardware: All   
OS: Windows 7   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Wrong term in case of overflow none

Description Regina Henschel 2014-11-02 14:36:48 UTC
Created attachment 84156 [details]
Wrong term in case of overflow

Open attached document. It contains left, top a chart with a regression curve equation. This equation contains "Inf" indicating, that there is an overflow. In similar case of underflow, we have decided, to show f(x)=exp(r+sx) instead of f(x)=a*exp(bx). Similar form of equation should be used on overflow too.

The reason of the huge values is, that the x-values are dates and dates are used with there internal numbers. For "normal" x-values, there is no problem, see the right examples in the attached file.

The relevant code is in file ExponentialRegressionCurveCalculator.cxx in method ExponentialRegressionCurveCalculator::ImplGetRepresentation

Dear core developer, please do not fix it yourself, but leave it as starting task for newcomers.