mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-02 06:23:35 +01:00
TAChart: Fix scaling of TChartAxis.MeasureLabelSize result.
git-svn-id: trunk@61698 -
This commit is contained in:
parent
993861b8d4
commit
81b07b047c
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user