mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 10:36:01 +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;
|
t: String;
|
||||||
begin
|
begin
|
||||||
Result := Size(0, 0);
|
Result := Size(0, 0);
|
||||||
if AMin = AMax then exit;
|
if (AMin = AMax) or not Marks.Visible then exit;
|
||||||
GetMarkValues(AMin, AMax);
|
GetMarkValues(AMin, AMax);
|
||||||
for i := 0 to High(FMarkTexts) do begin
|
for i := 0 to High(FMarkTexts) do begin
|
||||||
// CalculateTransformationCoeffs changes axis interval, so it is possibile
|
// CalculateTransformationCoeffs changes axis interval, so it is possibile
|
||||||
|
Loading…
Reference in New Issue
Block a user