mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 21:57:10 +01:00
TAChart: Fix SIGFPE while drawing mark labels for series with NaNs
git-svn-id: trunk@39705 -
This commit is contained in:
parent
7e729e5e63
commit
f3f890e876
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user