mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-09 08:19:32 +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
|
for i := 0 to ValueCount - 1 do
|
||||||
mv[i] := Value[i];
|
mv[i] := Value[i];
|
||||||
sz := Marks.Measure(ADrawer, not IsVertical, TickLength, mv);
|
sz := Marks.Measure(ADrawer, not IsVertical, TickLength, mv);
|
||||||
Result := round(sz);
|
Result := round(sz / ADrawer.Scale(1));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TChartAxis.PositionIsStored: Boolean;
|
function TChartAxis.PositionIsStored: Boolean;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user