mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 22:16:00 +02:00
TAChart: Mark TCubicSplineSeries.Calculate function public
git-svn-id: trunk@32282 -
This commit is contained in:
parent
ddb174b1da
commit
c501d0bda5
@ -160,7 +160,6 @@ type
|
||||
FUnorderedX: Boolean;
|
||||
FX, FY, FCoeff: array of ArbFloat;
|
||||
|
||||
function Calculate(AX: Double): Double;
|
||||
procedure PrepareCoeffs;
|
||||
function PrepareIntervals: TIntervalList;
|
||||
procedure SetBadDataPen(AValue: TBadDataChartPen);
|
||||
@ -171,6 +170,7 @@ type
|
||||
|
||||
public
|
||||
procedure Assign(ASource: TPersistent); override;
|
||||
function Calculate(AX: Double): Double;
|
||||
constructor Create(AOwner: TComponent); override;
|
||||
destructor Destroy; override;
|
||||
|
||||
@ -747,6 +747,8 @@ var
|
||||
ok: Integer = 0;
|
||||
begin
|
||||
Result := ipfspn(High(FCoeff), FX[0], FY[0], FCoeff[0], AX, ok);
|
||||
if ok > 1 then
|
||||
Result := NaN;
|
||||
end;
|
||||
|
||||
constructor TCubicSplineSeries.Create(AOwner: TComponent);
|
||||
|
Loading…
Reference in New Issue
Block a user