TAChart: Fix crash of IDE if TFitSeries is linked to a TUserDefinedChartSource

git-svn-id: trunk@49020 -
This commit is contained in:
wp 2015-05-14 10:55:36 +00:00
parent fd258ffc81
commit a964ffb7de

View File

@ -1414,6 +1414,7 @@ var
ns := Source.Count;
if (np <= 0) or (ns = 0) or (ns < np) then exit;
CalcXRange(xmin, xmax);
if xmin = xmax then exit;
n := 0;
for i := 0 to ns - 1 do