Merged revision(s) 56443 #0b3d343f9b from trunk:

TAChart: Fix empty TPolarSeries crashing if ShowPoints is true.
........

git-svn-id: branches/fixes_1_8@56450 -
This commit is contained in:
maxim 2017-11-20 23:01:39 +00:00
parent f5148efc08
commit e77f4cd60c

View File

@ -1195,7 +1195,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;