TAChart: Fix TBoxAndWhiskerSeries crashing when MinYValue or MaxYValue is queried and the series is empty.

This commit is contained in:
wp_xyz 2022-02-03 00:33:51 +01:00
parent 1f695b9d3a
commit fcb70e903a

View File

@ -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;