mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 12:00:15 +02:00
TAChart: Do not use series color for pointer drawing in TLineSeries.
Fixes issue #18594 git-svn-id: trunk@29181 -
This commit is contained in:
parent
c490f39011
commit
ac7217664b
@ -459,7 +459,7 @@ begin
|
||||
p := FGraphPoints[i - FLoBound];
|
||||
if not ParentChart.IsPointInViewPort(p) then continue;
|
||||
ai := ParentChart.GraphToImage(p);
|
||||
FPointer.Draw(ACanvas, ai, GetColor(i));
|
||||
FPointer.Draw(ACanvas, ai, Source[i]^.Color);
|
||||
if Assigned(FOnDrawPointer) then
|
||||
FOnDrawPointer(Self, ACanvas, i, ai);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user