mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 10:35:58 +02:00
TAChart: Only apply transformations with Enabled = true
git-svn-id: trunk@24503 -
This commit is contained in:
parent
ec8f1f4868
commit
15a620de11
@ -355,7 +355,9 @@ var
|
||||
begin
|
||||
Result := AX;
|
||||
for i := 0 to List.Count - 1 do
|
||||
Result := TAxisTransform(List[i]).AxisToGraph(Result);
|
||||
with TAxisTransform(List[i]) do
|
||||
if Enabled then
|
||||
Result := AxisToGraph(Result);
|
||||
end;
|
||||
|
||||
constructor TChartAxisTransformations.Create(AOwner: TComponent);
|
||||
@ -390,7 +392,9 @@ var
|
||||
begin
|
||||
Result := AX;
|
||||
for i := 0 to List.Count - 1 do
|
||||
Result := TAxisTransform(List[i]).GraphToAxis(Result);
|
||||
with TAxisTransform(List[i]) do
|
||||
if Enabled then
|
||||
Result := GraphToAxis(Result);
|
||||
end;
|
||||
|
||||
procedure TChartAxisTransformations.SetChildOrder(
|
||||
|
Loading…
Reference in New Issue
Block a user