mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 05:00:25 +02:00
TAChart: Use TFitSeries' own error messages in the fit demo program.
git-svn-id: trunk@60568 -
This commit is contained in:
parent
c91e35a5af
commit
7534bcabb3
@ -522,14 +522,8 @@ begin
|
||||
LowerPredIntervalSeries.OnCalculate := @FitSeries.GetLowerPredictionInterval;
|
||||
{$IFEND}
|
||||
end;
|
||||
fitDimError:
|
||||
Add('The lengths of the data vectors do not match.');
|
||||
fitMoreParamsThanValues:
|
||||
Add('There are more fitting parameters than data values.');
|
||||
fitNoFitParams:
|
||||
Add('No fit parameters specified');
|
||||
fitSingular:
|
||||
Add('Matrix is (nearly) singular');
|
||||
else
|
||||
Add(FitSeries.ErrorMsg);
|
||||
end;
|
||||
finally
|
||||
EndUpdate;
|
||||
|
Loading…
Reference in New Issue
Block a user