mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 05:58:06 +02:00
TAChart: (hopefully) fix compilation with FPC 3.3.1. Issue #40780.
This commit is contained in:
parent
0642c65d04
commit
ca58c47ab7
@ -279,14 +279,14 @@ begin
|
||||
FSeries := nil;
|
||||
if AMode in [dpmSnap, dpmLock] then begin
|
||||
FindNearestPoint(APoint);
|
||||
ADest.FGraphPos := FNearestGraphPoint;
|
||||
ADest.GraphPos := FNearestGraphPoint;
|
||||
ADest.FIndex := PointIndex;
|
||||
if not SameTransformations(FSeries, AOtherEndSeries) then
|
||||
FSeries := nil;
|
||||
end;
|
||||
ADest.FSeries := FSeries;
|
||||
if FSeries = nil then
|
||||
ADest.SetGraphPos(FChart.ImageToGraph(APoint));
|
||||
ADest.GraphPos := FChart.ImageToGraph(APoint);
|
||||
Result := (FSeries <> nil) or (AMode <> dpmLock);
|
||||
end;
|
||||
|
||||
|
@ -408,7 +408,7 @@ type
|
||||
public
|
||||
procedure Assign(ASource: TPointRef);
|
||||
function AxisPos(ADefaultSeries: TBasicChartSeries = nil): TDoublePoint;
|
||||
property GraphPos: TDoublePoint read FGraphPos;
|
||||
property GraphPos: TDoublePoint read FGraphPos write SetGraphPos;
|
||||
property Index: Integer read FIndex;
|
||||
property Series: TBasicChartSeries read FSeries;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user