TAChart: Undo r56495 #0ced9ed347. Fix related issue in a way which does not affect TExpressionSeries.

git-svn-id: trunk@56498 -
This commit is contained in:
wp 2017-11-26 09:52:58 +00:00
parent 6bfac0b4b1
commit 1e7485ae97

View File

@ -569,9 +569,7 @@ var
ymin, ymax: Double;
begin
inherited GetBounds(ABounds);
if not Extent.UseXMin or not Extent.UseXMax or not ExtentAutoY or
(csDesigning in ComponentState)
then
if not Extent.UseXMin or not Extent.UseXMax or not ExtentAutoY then
exit;
ymin := SafeInfinity;
ymax := NegInfinity;
@ -669,9 +667,9 @@ end;
procedure TFuncSeries.GetBounds(var ABounds: TDoubleRect);
begin
inherited GetBounds(ABounds);
if Assigned(OnCalculate) then
if (csDesigning in ComponentState) then
exit;
inherited GetBounds(ABounds);
end;
function TFuncSeries.GetNearestPoint(