mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 23:38:02 +02:00
TAChart: Fix TBoxAndWhiskerSeries crashing when MinYValue or MaxYValue is queried and the series is empty.
This commit is contained in:
parent
1f695b9d3a
commit
fcb70e903a
@ -1157,6 +1157,9 @@ var
|
||||
|
||||
begin
|
||||
Result := Source.ExtentList;
|
||||
if Source.Count = 0 then
|
||||
exit;
|
||||
|
||||
// Show first and last boxes fully.
|
||||
j := -1;
|
||||
x := NaN;
|
||||
|
Loading…
Reference in New Issue
Block a user