mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 02:55:55 +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);
|
axisMargin: TChartAxisMargins = (0, 0, 0, 0);
|
||||||
a: TChartAxisAlignment;
|
a: TChartAxisAlignment;
|
||||||
begin
|
begin
|
||||||
if not AxisVisible or (AxisList.Count = 0) then begin
|
if not AxisVisible then begin
|
||||||
FClipRect.Left += Depth;
|
FClipRect.Left += Depth;
|
||||||
FClipRect.Bottom -= Depth;
|
FClipRect.Bottom -= Depth;
|
||||||
CalculateTransformationCoeffs(GetMargins(ADrawer));
|
CalculateTransformationCoeffs(GetMargins(ADrawer));
|
||||||
|
Loading…
Reference in New Issue
Block a user