TAChart: Fix SIGFPE while drawing mark labels for series with NaNs

git-svn-id: trunk@39705 -
This commit is contained in:
ask 2013-01-01 03:22:11 +00:00
parent 7e729e5e63
commit f3f890e876

View File

@ -944,6 +944,7 @@ var
begin
if not Marks.IsMarkLabelsVisible then exit;
for i := 0 to Count - 1 do begin
if IsNan(Source[i]^.Point) then continue;
g := GetLabelDataPoint(i);
ld := GetLabelDirection(i);
for si := 0 to Source.YCount - 1 do begin