TAChart: Fix empty TPolarSeries crashing if ShowPoints is true.

git-svn-id: trunk@56443 -
This commit is contained in:
wp 2017-11-20 18:00:59 +00:00
parent 2c1d3c20b7
commit 0b3d343f9b

View File

@ -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;