mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 02:38:16 +02:00
TAChart: Fix AV while drawing chart with zero axises
git-svn-id: trunk@30187 -
This commit is contained in:
parent
c654edd5c9
commit
5f796f9283
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user