Components, TAChart: make TChart GetChartHeight return height and GetChartWidth return width, note vice versa, patch by Michael Fuchs, bug #25437

git-svn-id: trunk@43722 -
This commit is contained in:
maxim 2014-01-14 22:02:48 +00:00
parent f2e9065f51
commit 87023d8658

View File

@ -953,12 +953,12 @@ end;
function TChart.GetChartHeight: Integer;
begin
Result := FClipRect.Right - FClipRect.Left;
Result := FClipRect.Bottom - FClipRect.Top;
end;
function TChart.GetChartWidth: Integer;
begin
Result := FClipRect.Bottom - FClipRect.Top;
Result := FClipRect.Right - FClipRect.Left;
end;
procedure TChart.GetChildren(AProc: TGetChildProc; ARoot: TComponent);