TAChart: Fix AV while drawing chart with zero axises

git-svn-id: trunk@30187 -
This commit is contained in:
ask 2011-04-04 16:30:46 +00:00
parent c654edd5c9
commit 5f796f9283

View File

@ -1027,7 +1027,7 @@ var
axisMargin: TChartAxisMargins = (0, 0, 0, 0);
a: TChartAxisAlignment;
begin
if not AxisVisible or (AxisList.Count = 0) then begin
if not AxisVisible then begin
FClipRect.Left += Depth;
FClipRect.Bottom -= Depth;
CalculateTransformationCoeffs(GetMargins(ADrawer));