TAChart: Do not reserve space for invisible axis marks

git-svn-id: trunk@29962 -
This commit is contained in:
ask 2011-03-21 13:19:53 +00:00
parent 7391699e46
commit a9270e1c46

View File

@ -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