mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-02 16:39:56 +01:00
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:
parent
6bfac0b4b1
commit
1e7485ae97
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user