TAChart: Fix scaling of TChartAxis.MeasureLabelSize result.

git-svn-id: trunk@61698 -
This commit is contained in:
wp 2019-08-15 21:50:31 +00:00
parent 993861b8d4
commit 81b07b047c

View File

@ -886,7 +886,7 @@ begin
for i := 0 to ValueCount - 1 do
mv[i] := Value[i];
sz := Marks.Measure(ADrawer, not IsVertical, TickLength, mv);
Result := round(sz);
Result := round(sz / ADrawer.Scale(1));
end;
function TChartAxis.PositionIsStored: Boolean;