mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 12:19:26 +02:00
TAChart: Do not reserve space for invisible axis marks
git-svn-id: trunk@29962 -
This commit is contained in:
parent
7391699e46
commit
a9270e1c46
@ -644,7 +644,7 @@ procedure TChartAxis.Measure(
|
||||
t: String;
|
||||
begin
|
||||
Result := Size(0, 0);
|
||||
if AMin = AMax then exit;
|
||||
if (AMin = AMax) or not Marks.Visible then exit;
|
||||
GetMarkValues(AMin, AMax);
|
||||
for i := 0 to High(FMarkTexts) do begin
|
||||
// CalculateTransformationCoeffs changes axis interval, so it is possibile
|
||||
|
Loading…
Reference in New Issue
Block a user