mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 16:48:27 +02:00
TAChart: Fix empty TPolarSeries crashing if ShowPoints is true.
git-svn-id: trunk@56443 -
This commit is contained in:
parent
2c1d3c20b7
commit
0b3d343f9b
@ -1207,7 +1207,7 @@ var
|
||||
brushAlreadySet: boolean;
|
||||
begin
|
||||
Assert(Pointer <> nil, 'Series pointer');
|
||||
if not Pointer.Visible then exit;
|
||||
if (not Pointer.Visible) or (Length(FGraphPoints) = 0) then exit;
|
||||
for i := FLoBound to FUpBound do begin
|
||||
p := FGraphPoints[i - FLoBound];
|
||||
if not ParentChart.IsPointInViewPort(p) then continue;
|
||||
|
Loading…
Reference in New Issue
Block a user