mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 18:49:19 +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
|
begin
|
||||||
Result := AX;
|
Result := AX;
|
||||||
for i := 0 to List.Count - 1 do
|
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;
|
end;
|
||||||
|
|
||||||
constructor TChartAxisTransformations.Create(AOwner: TComponent);
|
constructor TChartAxisTransformations.Create(AOwner: TComponent);
|
||||||
@ -390,7 +392,9 @@ var
|
|||||||
begin
|
begin
|
||||||
Result := AX;
|
Result := AX;
|
||||||
for i := 0 to List.Count - 1 do
|
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;
|
end;
|
||||||
|
|
||||||
procedure TChartAxisTransformations.SetChildOrder(
|
procedure TChartAxisTransformations.SetChildOrder(
|
||||||
|
Loading…
Reference in New Issue
Block a user