mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 10:19:22 +02:00
TAChart: Minor improvement of r60549 #8baa6bdbc1. Patch by Marcin Wiazowski, issue #35162
git-svn-id: trunk@60558 -
This commit is contained in:
parent
7823062d48
commit
e17a5c165c
@ -2032,10 +2032,10 @@ end;
|
||||
.Value = NaN, and .Fixed = false.
|
||||
|
||||
By default, the fit base functions (.Func) are set to a polynomial because
|
||||
all implemented fitting types are of this kind.
|
||||
all built-in fitting types are of this kind.
|
||||
|
||||
In case of custom fitting, the fit base functions become equal to the
|
||||
functions FCustomFuncs defined separately by the method SetFitBasisFunc().
|
||||
function .CustomFunc defined separately by the method SetFitBasisFunc().
|
||||
}
|
||||
function TFitSeries.PrepareFitParams: Boolean;
|
||||
var
|
||||
@ -2051,9 +2051,9 @@ begin
|
||||
if FFitEquation <> feCustom then
|
||||
FFitParams[i].Func := @FitBaseFunc_Poly
|
||||
else begin
|
||||
FFitParams[i].Func := FFitParams[i].CustomFunc;
|
||||
if FFitParams[i].Func = nil then
|
||||
if FFitParams[i].CustomFunc = nil then
|
||||
exit;
|
||||
FFitParams[i].Func := FFitParams[i].CustomFunc;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user