mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 05:15:56 +02:00
TAChart: Fix TBoxAndWhiskerSeries crashing when MinYValue or MaxYValue is queried and the series is empty.
(cherry picked from commit fcb70e903a
)
This commit is contained in:
parent
04abb621c5
commit
587c6d56c5
@ -1066,6 +1066,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